From b0ca740e8f361024d1c78cdf7432b4566dda4c7c Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 1 Apr 2024 21:22:46 +0200 Subject: [PATCH] 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 --- gdb/testsuite/gdb.threads/stepi-over-clone.exp | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.39.5