[gdb/testsuite] Skip multi-target.exp without gdbserver
Pre-commit 919adfe840
"Move gdbserver to top level", if we build gdb with
--disable-gdbserver, and run test-case gdb.multi/multi-target.exp, we run
into:
...
(gdb) PASS: gdb.multi/multi-target.exp: continue: non-stop=off: set remote-exec file in inferior 2
spawn of --once --multi localhost:2346 failed
ERROR: tcl error sourcing /data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-target.exp.
ERROR: Timeout waiting for gdbserver response.
...
Fix this by using skip_gdbserver_tests in multi-target.exp.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-02-10 Tom de Vries <tdevries@suse.de>
* gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
This commit is contained in:
parent
5f0e2eb79e
commit
44f6938ead
@ -1,3 +1,7 @@
|
||||
2020-02-10 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
|
||||
|
||||
2020-02-10 Maciej W. Rozycki <macro@wdc.com>
|
||||
|
||||
* gdb.base/step-over-no-symbols.exp: Verify that $before_addr
|
||||
|
@ -17,6 +17,10 @@
|
||||
|
||||
load_lib gdbserver-support.exp
|
||||
|
||||
if { [skip_gdbserver_tests] } {
|
||||
return 0
|
||||
}
|
||||
|
||||
standard_testfile
|
||||
|
||||
# The plain remote target can't do multiple inferiors.
|
||||
|
Loading…
Reference in New Issue
Block a user