2001-01-28 Michael Chastain <chastain@redhat.com>
authorMichael Chastain <mec@google.com>
Sun, 28 Jan 2001 23:49:43 +0000 (23:49 +0000)
committerMichael Chastain <mec@google.com>
Sun, 28 Jan 2001 23:49:43 +0000 (23:49 +0000)
commitb2bbed47aadaf9c4901e87b2ecc56ac146a3b97b
treec91a37a2972914b618c926b485ad494614a9b822
parent80ee4fd53b910f425ecfa8a4f599025e00c2c608
2001-01-28  Michael Chastain  <chastain@redhat.com>

* 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.
gdb/testsuite/gdb.c++/ovldbreak.exp
This page took 0.024582 seconds and 4 git commands to generate.