aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server/stop-reply-no-thread.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.server/stop-reply-no-thread.exp')
-rw-r--r--gdb/testsuite/gdb.server/stop-reply-no-thread.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.server/stop-reply-no-thread.exp b/gdb/testsuite/gdb.server/stop-reply-no-thread.exp
index ea82780..5e93b47 100644
--- a/gdb/testsuite/gdb.server/stop-reply-no-thread.exp
+++ b/gdb/testsuite/gdb.server/stop-reply-no-thread.exp
@@ -28,7 +28,7 @@ if { [skip_gdbserver_tests] } {
}
standard_testfile
-if [prepare_for_testing "failed to prepare" $testfile $srcfile] {
+if { [build_executable "failed to prepare" $testfile $srcfile] == -1 } {
return -1
}