aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/local.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/local.exp')
-rw-r--r--gdb/testsuite/gdb.cp/local.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.cp/local.exp b/gdb/testsuite/gdb.cp/local.exp
index 7642d82..cc78770 100644
--- a/gdb/testsuite/gdb.cp/local.exp
+++ b/gdb/testsuite/gdb.cp/local.exp
@@ -27,7 +27,7 @@ set nl "\[\r\n\]+"
# test running programs
#
-if { [skip_cplus_tests] } { continue }
+if { [skip_cplus_tests] } { return }
standard_testfile .cc
@@ -44,12 +44,12 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
#
if ![runto_main] then {
perror "couldn't run to breakpoint"
- continue
+ return
}
if ![runto 'marker1'] then {
perror "couldn't run to marker1"
- continue
+ return
}
gdb_test "up" ".*foobar.*" "up from marker1"