diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/dprintf-non-stop.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/dprintf-non-stop.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/dprintf-non-stop.exp b/gdb/testsuite/gdb.base/dprintf-non-stop.exp index 7386ac6..538f703 100644 --- a/gdb/testsuite/gdb.base/dprintf-non-stop.exp +++ b/gdb/testsuite/gdb.base/dprintf-non-stop.exp @@ -16,8 +16,8 @@ standard_testfile set executable ${testfile} -if [build_executable "failed to prepare for dprintf with non-stop" \ - ${testfile} ${srcfile} {debug}] { +if {[build_executable "failed to prepare for dprintf with non-stop" \ + ${testfile} ${srcfile} {debug}]} { return -1 } @@ -26,7 +26,7 @@ save_vars { GDBFLAGS } { clean_restart ${executable} } -if ![runto_main] { +if {![runto_main]} { return -1 } |