summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-unwind.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-unwind.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-unwind.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-unwind.exp b/gdb/testsuite/gdb.python/py-unwind.exp
index 798e76525db..515e1c07f21 100644
--- a/gdb/testsuite/gdb.python/py-unwind.exp
+++ b/gdb/testsuite/gdb.python/py-unwind.exp
@@ -37,7 +37,7 @@ if { ![istarget x86_64-*-* ] || ![is_lp64_target] } { continue }
# The following tests require execution.
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}