summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/shlib-call.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/shlib-call.exp')
-rw-r--r--gdb/testsuite/gdb.base/shlib-call.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp
index c6925709676..5db6b128536 100644
--- a/gdb/testsuite/gdb.base/shlib-call.exp
+++ b/gdb/testsuite/gdb.base/shlib-call.exp
@@ -61,7 +61,7 @@ gdb_load_shlib $lib1
gdb_load_shlib $lib2
-if ![runto_main] then {
+if {![runto_main]} {
perror "C function calling tests suppressed"
}