diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/dprintf-next.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/dprintf-next.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/dprintf-next.exp b/gdb/testsuite/gdb.base/dprintf-next.exp index b28f565..d8ba03d 100644 --- a/gdb/testsuite/gdb.base/dprintf-next.exp +++ b/gdb/testsuite/gdb.base/dprintf-next.exp @@ -19,12 +19,12 @@ set expfile $testfile.exp set dp_location [gdb_get_line_number "Set dprintf here"] -if [prepare_for_testing "failed to prepare for dprintf with next" \ - ${testfile} ${srcfile} {debug}] { +if {[prepare_for_testing "failed to prepare for dprintf with next" \ + ${testfile} ${srcfile} {debug}]} { return -1 } -if ![runto_main] { +if {![runto_main]} { return -1 } |