From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: Andreas Schwab <schwab@linux-m68k.org>, gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] [gdb/testsuite] Make gdb.threads/inf-thr-count.exp more readable
Date: Fri, 18 Apr 2025 10:57:04 -0600 [thread overview]
Message-ID: <871ptp9zmn.fsf@tromey.com> (raw)
In-Reply-To: <f34e440f-25aa-4822-b69b-0321c4e9b390@suse.de> (Tom de Vries's message of "Fri, 18 Apr 2025 12:47:13 +0200")
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> So perhaps string_to_regexp should also escape "-" to fix this failure:
Tom> ...
Tom> set re [string_to_regexp "-"]
Tom> gdb_assert { [eval regexp $re "-"] }
Tom> ...
IMO it's better to use "--" to separate switches from arguments, like
regexp -- $re ...
Tom
next prev parent reply other threads:[~2025-04-18 16:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-18 9:23 [PATCH 0/2] [gdb/testsuite] Fixes in gdb.threads/inf-thr-count.exp Tom de Vries
2025-04-18 9:23 ` [PATCH 1/2] [gdb/testsuite] Fix timeout " Tom de Vries
2025-04-18 9:23 ` [PATCH 2/2] [gdb/testsuite] Make gdb.threads/inf-thr-count.exp more readable Tom de Vries
2025-04-18 9:39 ` Andreas Schwab
2025-04-18 10:47 ` Tom de Vries
2025-04-18 16:57 ` Tom Tromey [this message]
2025-05-02 8:37 ` Tom de Vries
2025-05-02 8:31 ` Tom de Vries
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=871ptp9zmn.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=schwab@linux-m68k.org \
--cc=tdevries@suse.de \
/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