aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/save-bp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/save-bp.exp')
-rw-r--r--gdb/testsuite/gdb.base/save-bp.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/save-bp.exp b/gdb/testsuite/gdb.base/save-bp.exp
index 8a696cd..00b216a 100644
--- a/gdb/testsuite/gdb.base/save-bp.exp
+++ b/gdb/testsuite/gdb.base/save-bp.exp
@@ -19,7 +19,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} $srcfile] } {
return -1
}
-if ![runto_main] {
+if {![runto_main]} {
return -1
}
# Delete all breakpoints, watchpoints, tracepoints, and catchpoints so that
@@ -61,7 +61,7 @@ gdb_test "save breakpoint $bps" "" "save breakpoint bps"
# Now start a new debugger session...
clean_restart $testfile
-if ![runto_main] {
+if {![runto_main]} {
return -1
}
# Delete all breakpoints, watchpoints, tracepoints, and catchpoints so that