* [pushed] [gdb/testsuite] Require allow_xml_test in gdb.base/gcore.exp
@ 2026-08-03 19:10 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2026-08-03 19:10 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 19:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 19:10 [pushed] [gdb/testsuite] Require allow_xml_test in gdb.base/gcore.exp Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox