projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e2c30
)
[gdb/testsuite] Add missing skip_gdbserver_tests in gdb.multi/attach-no-multi-process.exp
author
Tom de Vries
<tdevries@suse.de>
Tue, 25 Oct 2022 12:09:32 +0000
(14:09 +0200)
committer
Tom de Vries
<tdevries@suse.de>
Tue, 25 Oct 2022 12:09:32 +0000
(14:09 +0200)
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.
gdb/testsuite/gdb.multi/attach-no-multi-process.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
b/gdb/testsuite/gdb.multi/attach-no-multi-process.exp
index 66b210f882c0f071db0906b081b661b267dd5795..4d6cd32f17edbaf08630e3cd29a38e9347c3d1cf 100644
(file)
--- 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
}