aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/skip-solib.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/skip-solib.exp')
-rw-r--r--gdb/testsuite/gdb.base/skip-solib.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/skip-solib.exp b/gdb/testsuite/gdb.base/skip-solib.exp
index d96d1ac..e152023 100644
--- a/gdb/testsuite/gdb.base/skip-solib.exp
+++ b/gdb/testsuite/gdb.base/skip-solib.exp
@@ -72,7 +72,7 @@ with_test_prefix "ignoring solib file" {
"Num\\s+Enb\\s+Glob\\s+File\\s+RE\\s+Function\\s*" \
"1\\s+y\\s+n\\s+${srcfile_lib}\\s+n\\s+<none>\\s*"]
- if ![runto_main] {
+ if {![runto_main]} {
return
}
@@ -94,7 +94,7 @@ with_test_prefix "ignoring solib function" {
"Function multiply will be skipped when stepping\\." \
"skip function"
- if ![runto_main] {
+ if {![runto_main]} {
return
}