aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/breakpoint.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/breakpoint.exp')
-rw-r--r--gdb/testsuite/gdb.cp/breakpoint.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/breakpoint.exp b/gdb/testsuite/gdb.cp/breakpoint.exp
index 53b29c3..4793a93 100644
--- a/gdb/testsuite/gdb.cp/breakpoint.exp
+++ b/gdb/testsuite/gdb.cp/breakpoint.exp
@@ -46,7 +46,7 @@ proc test_breakpoint {name} {
# lead to a cascade.
if ![runto_main] then {
perror "couldn't run to main when testing ${name}"
- continue
+ return -code continue
} else {
gdb_breakpoint "${name}"
gdb_test "continue" "Continuing.\r\n\r\nBreakpoint \[0-9\]*, ${name}.*" "continue to ${name}"