From: Markus Metzger Date: Fri, 11 Dec 2020 08:55:50 +0000 (+0100) Subject: testsuite, gdb.btrace: skip multi-inferior.exp on gdbserver targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=806e7575e232f854ce7fc88c2a55c63265d57e5e;p=binutils-gdb.git 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 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bc6b126c1b2..4a6d48e2af7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-12-21 Markus Metzger + + * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub. + 2020-12-21 Markus Metzger * gdb.python/py-record-btrace.exp: Make test names unique. diff --git a/gdb/testsuite/gdb.btrace/multi-inferior.exp b/gdb/testsuite/gdb.btrace/multi-inferior.exp index 23bc852c565..cfccc581681 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