aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.server/stop-reply-no-thread.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 079814a..3200c34 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2021-01-04 Simon Marchi <simon.marchi@efficios.com>
+ * gdb.server/stop-reply-no-thread.exp: Use build_executable
+ instead of prepare_for_testing.
+
+2021-01-04 Simon Marchi <simon.marchi@efficios.com>
+
* gdb.server/solib-list.exp: Use clean_restart.
2021-01-04 Tom de Vries <tdevries@suse.de>
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
}