From: Bernd Edlinger Date: Mon, 1 Apr 2024 19:22:46 +0000 (+0200) Subject: Fix a test failure in gdb.threads/stepi-over-clone.exp X-Git-Tag: gdb-15-branchpoint~490 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0ca740e8f361024d1c78cdf7432b4566dda4c7c;p=thirdparty%2Fbinutils-gdb.git Fix a test failure in gdb.threads/stepi-over-clone.exp When the XML support was disabled at compile time, the test case gdb.threads/stepi-over-clone.exp fails with lots of time-outs, which can be annoying. This makes the test case unsupported instead. Approved-By: Tom Tromey --- diff --git a/gdb/testsuite/gdb.threads/stepi-over-clone.exp b/gdb/testsuite/gdb.threads/stepi-over-clone.exp index 7f968171abb..f671fd7b8bd 100644 --- a/gdb/testsuite/gdb.threads/stepi-over-clone.exp +++ b/gdb/testsuite/gdb.threads/stepi-over-clone.exp @@ -39,6 +39,10 @@ gdb_test_multiple "catch syscall group:process" "catch process syscalls" { unsupported $gdb_test_name return } + -re "Can not parse XML syscalls information; XML support was disabled at compile time.*\r\n$gdb_prompt $" { + unsupported $gdb_test_name + return + } -re ".*$gdb_prompt $" { pass $gdb_test_name }