diff options
Diffstat (limited to 'gdb/testsuite/gdb.btrace/unknown_functions.exp')
-rw-r--r-- | gdb/testsuite/gdb.btrace/unknown_functions.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.btrace/unknown_functions.exp b/gdb/testsuite/gdb.btrace/unknown_functions.exp index 61aed6f..0696d8b 100644 --- a/gdb/testsuite/gdb.btrace/unknown_functions.exp +++ b/gdb/testsuite/gdb.btrace/unknown_functions.exp @@ -25,12 +25,12 @@ standard_testfile # PIE on 32-bit. # # Also discard local symbols. -if [prepare_for_testing "failed to prepare" $testfile $srcfile \ - {ldflags=-Wl,-x nopie}] { +if {[prepare_for_testing "failed to prepare" $testfile $srcfile \ + {ldflags=-Wl,-x nopie}]} { return -1 } -if ![runto test] { +if {![runto test]} { return -1 } |