]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* gdb.cp/method2.exp: Output of overload menu is now
authorKeith Seitz <keiths@redhat.com>
Thu, 1 Mar 2012 20:34:13 +0000 (20:34 +0000)
committerKeith Seitz <keiths@redhat.com>
Thu, 1 Mar 2012 20:34:13 +0000 (20:34 +0000)
commitd3dc44a619a1f52ace35f3cccb16b6096e13b5da
tree01a8715e9a9b305c41ca2371174cbbbfa1c862dc
parente0a4d1083e0845e8e402b75b32b0e81b1a3f4e10
* gdb.cp/method2.exp: Output of overload menu is now
alphabetized.  Update tests for "break A::method".
* gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
of hard-coding them.
Overload menu is alphabetized: rewrite to accommodate.
Unset variables LINE and TYPES which are used in other tests.
Compute the output of "info break".
Update the breakpoint table after all breakpoints are deleted.
(continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
compute ACTUALS and the method body based on parameters.
Update expected output accordingly.
* gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
unique comments to allow the use of gdb_get_line_number.

* gdb.cp/method2.exp: Use prepare_for_testing and cleanup
some Tcl syntax.
* gdb.cp/ovldbreak.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/method2.exp
gdb/testsuite/gdb.cp/ovldbreak.cc
gdb/testsuite/gdb.cp/ovldbreak.exp