b2bbed47aa
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc to call when tests fail. It takes gdb out of the overloaded function choice menu back to the main prompt, so that the test program stays synchronized. (set_bp_overloaded): New proc to collect all the common code for setting a breakpoint on an overloaded name. Calls take_gdb_out_of_choice_menu when needed. (menu_overload1arg): New variable to collect the repeated instances of the expected menu for an overloaded name. Change the regular expression to handle changes in g++ type encoding: "void" can be either "void" or "", and "unsigned int" can be either "unsigned int" or "unsigned". (continue_to_bp_overloaded): Change regular expressions to handle changes in g++ type encoding. (no proc): Call take_gdb_out_of_choice_menu when needed. Remove redundant calls to "info break". Accept either "canceled" or "cancelled". Change regular expressions in "info break" calls to handle changes in g++ type encoding. Give all tests unique strings. |
||
---|---|---|
.. | ||
ambiguous.cc | ||
ambiguous.exp | ||
annota2.cc | ||
annota2.exp | ||
anon-union.cc | ||
anon-union.exp | ||
classes.exp | ||
configure | ||
configure.in | ||
cplusfuncs.cc | ||
cplusfuncs.exp | ||
ctti.exp | ||
cttiadd.cc | ||
cttiadd1.cc | ||
cttiadd2.cc | ||
cttiadd3.cc | ||
demangle.exp | ||
derivation.cc | ||
derivation.exp | ||
inherit.exp | ||
local.cc | ||
local.exp | ||
Makefile.in | ||
member-ptr.cc | ||
member-ptr.exp | ||
method.cc | ||
method.exp | ||
misc.cc | ||
misc.exp | ||
namespace.cc | ||
namespace.exp | ||
overload.cc | ||
overload.exp | ||
ovldbreak.cc | ||
ovldbreak.exp | ||
ref-types.cc | ||
ref-types.exp | ||
templates.cc | ||
templates.exp | ||
userdef.cc | ||
userdef.exp | ||
virtfunc.cc | ||
virtfunc.exp |