aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2024-04-01 21:22:46 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2024-04-04 14:26:19 +0200
commitb0ca740e8f361024d1c78cdf7432b4566dda4c7c (patch)
tree98fdbd7bc757b139bd1ed48e3389360e11e3175b
parentf38e9921479a00b4e7a72a79088106859ec5fabc (diff)
downloadgdb-b0ca740e8f361024d1c78cdf7432b4566dda4c7c.zip
gdb-b0ca740e8f361024d1c78cdf7432b4566dda4c7c.tar.gz
gdb-b0ca740e8f361024d1c78cdf7432b4566dda4c7c.tar.bz2
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 <tom@tromey.com>
-rw-r--r--gdb/testsuite/gdb.threads/stepi-over-clone.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/stepi-over-clone.exp b/gdb/testsuite/gdb.threads/stepi-over-clone.exp
index 7f96817..f671fd7 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
}