diff options
Diffstat (limited to 'gdb/testsuite/gdb.btrace/exception.exp')
-rwxr-xr-x | gdb/testsuite/gdb.btrace/exception.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.btrace/exception.exp b/gdb/testsuite/gdb.btrace/exception.exp index 67e9fbd..61a4bd9 100755 --- a/gdb/testsuite/gdb.btrace/exception.exp +++ b/gdb/testsuite/gdb.btrace/exception.exp @@ -22,12 +22,12 @@ require allow_btrace_tests # We expect a specific function call history. This gets messed up with # PIE on 32-bit. standard_testfile exception.cc -if [prepare_for_testing "failed to prepare" $testfile $srcfile \ - {nopie c++ debug}] { +if {[prepare_for_testing "failed to prepare" $testfile $srcfile \ + {nopie c++ debug}]} { return -1 } -if ![runto_main] { +if {![runto_main]} { return -1 } |