aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/until.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/until.exp')
-rw-r--r--gdb/testsuite/gdb.base/until.exp10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/until.exp b/gdb/testsuite/gdb.base/until.exp
index 14425e7..446d712 100644
--- a/gdb/testsuite/gdb.base/until.exp
+++ b/gdb/testsuite/gdb.base/until.exp
@@ -44,7 +44,10 @@ gdb_test "until 80 then stop" \
"malformed until"
# Rerun up to factorial, outer invocation
-if { ![runto factorial] } then { gdb_suppress_tests; }
+if { ![runto factorial] } {
+ return
+}
+
delete_breakpoints
# At this point, 'until' should continue the inferior up to when all the
@@ -57,7 +60,10 @@ gdb_test "until $bp_location19" \
# Run to a function called by main
#
-if { ![runto marker2] } then { gdb_suppress_tests; }
+if { ![runto marker2] } {
+ return
+}
+
delete_breakpoints
# Now issue an until with another function, not called by the current