aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-10-25 14:09:32 +0200
committerTom de Vries <tdevries@suse.de>2022-10-25 14:09:32 +0200
commit4ff322b6fa699e352730f58a0a1e90c09274b0f6 (patch)
tree8bf684edfa09829ad3d4bb143995a75f59dd6d2e /gdb
parent47e2c30aacff6c50a2557c86cc00f411b750805b (diff)
downloadgdb-4ff322b6fa699e352730f58a0a1e90c09274b0f6.zip
gdb-4ff322b6fa699e352730f58a0a1e90c09274b0f6.tar.gz
gdb-4ff322b6fa699e352730f58a0a1e90c09274b0f6.tar.bz2
[gdb/testsuite] Add missing skip_gdbserver_tests in gdb.multi/attach-no-multi-process.exp
I build gdb without gdbserver, and ran into: ... (gdb) PASS: gdb.multi/attach-no-multi-process.exp: target_non_stop=off: \ switch to inferior 2 spawn of --once --multi localhost:2346 failed ERROR: tcl error sourcing attach-no-multi-process.exp. ERROR: tcl error code NONE ERROR: Timeout waiting for gdbserver response. ... Add the missing skip_gdbserver_tests. Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.multi/attach-no-multi-process.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.multi/attach-no-multi-process.exp b/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
index 66b210f..4d6cd32 100644
--- a/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
+++ b/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
@@ -22,6 +22,10 @@ load_lib gdbserver-support.exp
standard_testfile
+if { [skip_gdbserver_tests] } {
+ return 0
+}
+
if {![can_spawn_for_attach]} {
return
}