aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.btrace
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2020-12-11 09:55:50 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2020-12-21 08:59:25 +0100
commit806e7575e232f854ce7fc88c2a55c63265d57e5e (patch)
tree101555658748a77b728eca4c45397573b6023a52 /gdb/testsuite/gdb.btrace
parent493d2172ac9e15034e94d3030598bbaa42550082 (diff)
downloadgdb-806e7575e232f854ce7fc88c2a55c63265d57e5e.zip
gdb-806e7575e232f854ce7fc88c2a55c63265d57e5e.tar.gz
gdb-806e7575e232f854ce7fc88c2a55c63265d57e5e.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.btrace')
-rw-r--r--gdb/testsuite/gdb.btrace/multi-inferior.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.btrace/multi-inferior.exp b/gdb/testsuite/gdb.btrace/multi-inferior.exp
index 23bc852..cfccc58 100644
--- a/gdb/testsuite/gdb.btrace/multi-inferior.exp
+++ b/gdb/testsuite/gdb.btrace/multi-inferior.exp
@@ -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