public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Bernd Edlinger <bernd.edlinger@hotmail.de>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [PATCH] Fix a test failure in gdb.threads/stepi-over-clone.exp
Date: Mon, 1 Apr 2024 22:41:26 +0200	[thread overview]
Message-ID: <AS8P193MB12858AC2EC8BDFCD53D7F3D7E43F2@AS8P193MB1285.EURP193.PROD.OUTLOOK.COM> (raw)

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.
---
 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.2


             reply	other threads:[~2024-04-01 20:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-01 20:41 Bernd Edlinger [this message]
2024-04-03 19:21 ` Tom Tromey
2024-04-04 12:28   ` Bernd Edlinger
2024-04-04 12:28     ` Bernd Edlinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AS8P193MB12858AC2EC8BDFCD53D7F3D7E43F2@AS8P193MB1285.EURP193.PROD.OUTLOOK.COM \
    --to=bernd.edlinger@hotmail.de \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).