From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb/testsuite] Require allow_xml_test in gdb.base/gcore.exp
Date: Mon, 3 Aug 2026 21:10:02 +0200 [thread overview]
Message-ID: <20260803191002.2836219-1-tdevries@suse.de> (raw)
I build gdb without xml support, and with test-case gdb.base/gcore.exp ran
into:
...
(gdb) core $outputs/gdb.base/gcore/gcore.test
warning: Can not parse XML target description; \
XML support was disabled at compile time
...
(gdb) FAIL: $exp: corefile restored general registers
...
Fix this by requiring allow_xml_test.
---
gdb/testsuite/gdb.base/gcore.exp | 1 +
1 file changed, 1 insertion(+)
diff --git a/gdb/testsuite/gdb.base/gcore.exp b/gdb/testsuite/gdb.base/gcore.exp
index 243e0b39082..5937137f4ee 100644
--- a/gdb/testsuite/gdb.base/gcore.exp
+++ b/gdb/testsuite/gdb.base/gcore.exp
@@ -17,6 +17,7 @@
# This is a test for the gdb command "generate-core-file".
require gcore_cmd_available
+require allow_xml_test
standard_testfile
base-commit: 44eca7e071af1233d7a9a2a04e059f2f2866f947
--
2.51.0
reply other threads:[~2026-08-03 19:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260803191002.2836219-1-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox