summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/ovldbreak.cc
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-04-03 21:42:33 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-04-03 21:42:33 +0000
commiteae06beb6db690f1ea741c390eb6a5bd71f5f816 (patch)
tree9938c37e6f6e8f741d3622b2d74876531d99e136 /gdb/testsuite/gdb.cp/ovldbreak.cc
parent717d2f5a05d436766fb431411e7768a2886bca42 (diff)
downloadbinutils-gdb-eae06beb6db690f1ea741c390eb6a5bd71f5f816.tar.gz
* 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/ovldbreak.cc')
-rw-r--r--gdb/testsuite/gdb.cp/ovldbreak.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/ovldbreak.cc b/gdb/testsuite/gdb.cp/ovldbreak.cc
index 9a5b5cbf7c7..7aa1f2f53ee 100644
--- a/gdb/testsuite/gdb.cp/ovldbreak.cc
+++ b/gdb/testsuite/gdb.cp/ovldbreak.cc
@@ -174,4 +174,11 @@ int foo::overloadargs (int a1, int a2, int a3, int a4, int a5, int a6, int a7,
a10 = a11 = 0; return 11;}
+void foo::foofunc (int a)
+{
+}
+
+void foo::foofunc (int b, signed char *c)
+{
+}