aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/namespace.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/namespace.exp')
-rw-r--r--gdb/testsuite/gdb.cp/namespace.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp
index df5608f..a721ecd 100644
--- a/gdb/testsuite/gdb.cp/namespace.exp
+++ b/gdb/testsuite/gdb.cp/namespace.exp
@@ -25,7 +25,7 @@
-if { [skip_cplus_tests] } { continue }
+if { [skip_cplus_tests] } { return }
standard_testfile .cc namespace1.cc
@@ -52,12 +52,12 @@ gdb_test "show lang" "auto; currently 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" ".*main.*" "up from marker1"
@@ -198,7 +198,7 @@ gdb_test_multiple $test $test {
if ![runto "C::D::marker2"] then {
perror "couldn't run to marker2"
- continue
+ return
}
gdb_test "print c" "\\$\[0-9\].* = 1"