aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/nested-subp2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/nested-subp2.exp')
-rw-r--r--gdb/testsuite/gdb.base/nested-subp2.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/nested-subp2.exp b/gdb/testsuite/gdb.base/nested-subp2.exp
index d6c67a4..1846685 100644
--- a/gdb/testsuite/gdb.base/nested-subp2.exp
+++ b/gdb/testsuite/gdb.base/nested-subp2.exp
@@ -24,7 +24,7 @@ standard_testfile
set testcase "nested-subp2"
-if ![support_nested_function_tests] {
+if {![support_nested_function_tests]} {
untested "compiler does not support nested functions"
return -1
}
@@ -49,7 +49,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
# Run until the variables we are interested in are visible.
clean_restart "${testcase}"
-if ![runto_main] {
+if {![runto_main]} {
return
}