summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr9067.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/pr9067.exp')
-rw-r--r--gdb/testsuite/gdb.cp/pr9067.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/pr9067.exp b/gdb/testsuite/gdb.cp/pr9067.exp
index 81e56ced95f..4b601dd8f6b 100644
--- a/gdb/testsuite/gdb.cp/pr9067.exp
+++ b/gdb/testsuite/gdb.cp/pr9067.exp
@@ -15,7 +15,7 @@
set nl "\[\r\n\]+"
-if { [skip_cplus_tests] } { continue }
+if { [skip_cplus_tests] } { return }
load_lib "cp-support.exp"
@@ -27,7 +27,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
if ![runto_main] then {
perror "couldn't run to breakpoint"
- continue
+ return
}
gdb_test "print b" ".*same as static member.*"