diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/nested-subp1.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/nested-subp1.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/nested-subp1.exp b/gdb/testsuite/gdb.base/nested-subp1.exp index 7ea461a..9d0e873 100644 --- a/gdb/testsuite/gdb.base/nested-subp1.exp +++ b/gdb/testsuite/gdb.base/nested-subp1.exp @@ -24,7 +24,7 @@ standard_testfile set testcase "nested-subp1" -if ![support_nested_function_tests] { +if {![support_nested_function_tests]} { untested "compiler does not support nested functions" return -1 } @@ -40,7 +40,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 } |