diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-04-03 21:42:33 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-04-03 21:42:33 +0000 |
commit | eae06beb6db690f1ea741c390eb6a5bd71f5f816 (patch) | |
tree | 9938c37e6f6e8f741d3622b2d74876531d99e136 /gdb/testsuite/gdb.cp/templates.exp | |
parent | 717d2f5a05d436766fb431411e7768a2886bca42 (diff) | |
download | gdb-eae06beb6db690f1ea741c390eb6a5bd71f5f816.zip gdb-eae06beb6db690f1ea741c390eb6a5bd71f5f816.tar.gz gdb-eae06beb6db690f1ea741c390eb6a5bd71f5f816.tar.bz2 |
* gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
* gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
Add a couple of tests that verify the behavior when the new setting
is set to "cancel" and "all".
* gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
"ask" before we start the testing.
Diffstat (limited to 'gdb/testsuite/gdb.cp/templates.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/templates.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp index 7fe2698..8734fdc 100644 --- a/gdb/testsuite/gdb.cp/templates.exp +++ b/gdb/testsuite/gdb.cp/templates.exp @@ -210,6 +210,10 @@ proc do_tests {} { gdb_reinitialize_dir $srcdir/$subdir gdb_load $binfile + # Change multiple-symbols to "ask" in order to get the multiple-choice + # menu when breaking on overloaded methods. + gdb_test "set multiple-symbols ask" "" + runto_main test_ptype_of_templates |