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/method2.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/method2.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/method2.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/method2.exp b/gdb/testsuite/gdb.cp/method2.exp index ea8e7f6..11c0671 100644 --- a/gdb/testsuite/gdb.cp/method2.exp +++ b/gdb/testsuite/gdb.cp/method2.exp @@ -62,6 +62,11 @@ proc test_break { lang } { } } +# We want in this test to double-check the contents of the multiple-choice +# menu that's printed when a breakpoint location is ambiguous. So we need +# to set multiple-symbols to "ask" first. +gdb_test "set multiple-symbols ask" "" + test_break "c" test_break "c++" |