Révision | 4ff322b6fa699e352730f58a0a1e90c09274b0f6 (tree) |
---|---|
l'heure | 2022-10-25 21:09:32 |
Auteur | Tom de Vries <tdevries@suse...> |
Commiter | Tom de Vries |
[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: \
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.
@@ -22,6 +22,10 @@ load_lib gdbserver-support.exp | ||
22 | 22 | |
23 | 23 | standard_testfile |
24 | 24 | |
25 | +if { [skip_gdbserver_tests] } { | |
26 | + return 0 | |
27 | +} | |
28 | + | |
25 | 29 | if {![can_spawn_for_attach]} { |
26 | 30 | return |
27 | 31 | } |