summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/info_exc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/info_exc.exp')
-rw-r--r--gdb/testsuite/gdb.ada/info_exc.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/info_exc.exp b/gdb/testsuite/gdb.ada/info_exc.exp
index 4e0059ad3dc..c0a9e4dea53 100644
--- a/gdb/testsuite/gdb.ada/info_exc.exp
+++ b/gdb/testsuite/gdb.ada/info_exc.exp
@@ -25,7 +25,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug]] != "" }
clean_restart ${testfile}
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}