testsuite, gdb.btrace: skip multi-inferior.exp on gdbserver targets

The gdb.btrace/multi-inferior.exp test creates multiple inferiors to check
that recording is per-inferior.

When run with the native-gdbserver board, this test hangs when trying to
add the second inferior over the remote connection.  Skip the test.

Note that the test runs fine with the native-extended-gdbserver board file
and we want to keep testing that configuration.

gdb/testsuite/ChangeLog:
2020-12-11  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
This commit is contained in:
Markus Metzger 2020-12-11 09:55:50 +01:00
parent 493d2172ac
commit 806e7575e2
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
* gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
* gdb.python/py-record-btrace.exp: Make test names unique.

View file

@ -27,6 +27,11 @@ if { [skip_btrace_tests] } {
return -1
}
if { [use_gdb_stub] } {
unsupported "test creates multiple inferiors"
return -1
}
standard_testfile
if [prepare_for_testing "failed to prepare" $testfile {} {debug}] {
return -1