This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb/testsuite/gdb.c++ ovldbreak.exp
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb/testsuite/gdb.c++ ovldbreak.exp
- From: chastain at sourceware dot cygnus dot com
- Date: 28 Jan 2001 23:49:44 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: chastain@sources.redhat.com 2001-01-28 15:49:43
Modified files:
gdb/testsuite/gdb.c++: ovldbreak.exp
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.c++/ovldbreak.exp.diff?cvsroot=src&r1=1.2&r2=1.3