aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/ovldbreak.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/ovldbreak.exp')
-rw-r--r--gdb/testsuite/gdb.cp/ovldbreak.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/ovldbreak.exp b/gdb/testsuite/gdb.cp/ovldbreak.exp
index 1a61c7d..ca04d49 100644
--- a/gdb/testsuite/gdb.cp/ovldbreak.exp
+++ b/gdb/testsuite/gdb.cp/ovldbreak.exp
@@ -388,13 +388,15 @@ foreach type $all_types {
# is set to "cancel"
gdb_test_no_output "set multiple-symbols cancel"
gdb_test "break foo::foofunc" \
- "canceled.*"
+ "canceled.*" \
+ "break on ambiguous symbol when multiple-symbols is set to cancel"
# Test breaking on an overloaded function when multiple-symbols
# is set to "all"
gdb_test_no_output "set multiple-symbols all"
gdb_test "break foo::foofunc" \
- "Breakpoint \[0-9\]+ at ${hex}: foo::foofunc. .2 locations..*"
+ "Breakpoint \[0-9\]+ at ${hex}: foo::foofunc. .2 locations..*" \
+ "break on ambiguous symbol when multiple-symbols is set to all"
# That's all, folks.