summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/logical.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/logical.exp')
-rw-r--r--gdb/testsuite/gdb.base/logical.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/logical.exp b/gdb/testsuite/gdb.base/logical.exp
index b1d3c757768..25eb0711b82 100644
--- a/gdb/testsuite/gdb.base/logical.exp
+++ b/gdb/testsuite/gdb.base/logical.exp
@@ -39,7 +39,7 @@ clean_restart ${binfile}
# set it up at a breakpoint so we can play with the variable values
#
-if ![runto_main] then {
+if {![runto_main]} {
perror "couldn't run to breakpoint"
return
}