aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-recurse-unwind.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-recurse-unwind.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-recurse-unwind.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-recurse-unwind.exp b/gdb/testsuite/gdb.python/py-recurse-unwind.exp
index 6361417..711b8b0 100644
--- a/gdb/testsuite/gdb.python/py-recurse-unwind.exp
+++ b/gdb/testsuite/gdb.python/py-recurse-unwind.exp
@@ -40,7 +40,7 @@ gdb_test "source ${pyfile}" "Python script imported" \
# The following tests require execution.
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}