summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/try_catch.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/try_catch.exp')
-rw-r--r--gdb/testsuite/gdb.cp/try_catch.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/try_catch.exp b/gdb/testsuite/gdb.cp/try_catch.exp
index 2fbdb510e9c..8e74c91760e 100644
--- a/gdb/testsuite/gdb.cp/try_catch.exp
+++ b/gdb/testsuite/gdb.cp/try_catch.exp
@@ -18,7 +18,7 @@
# This file is part of the gdb testsuite
-if { [skip_stl_tests] } { continue }
+if { [skip_stl_tests] } { return }
#
# test running programs
@@ -36,7 +36,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_breakpoint [gdb_get_line_number "marker 1-throw"]