[pushed] [gdb/testsuite] Require allow_xml_test in gdb.base/gcore.exp
Tom de Vries <[email protected]> Mon, 3 Aug 2026 21:10:02 +0200
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
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