From: Tom Tromey <tom@tromey.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 0/5] Remove `...' and related forms of quoting from gdb
Date: Thu, 05 Nov 2026 13:23:25 -0700 [thread overview]
Message-ID: <87ld77xc1u.fsf@tromey.com> (raw)
In-Reply-To: <20260822-no-backquotes-in-strings-v1-0-0b035ad036a3@tromey.com> (Tom Tromey's message of "Sat, 22 Aug 2026 14:30:02 -0600")
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> As part of my ongoing quoting-regularization quest
Tom> (https://sourceware.org/bugzilla/show_bug.cgi?id=34044), this changes
Tom> gdb and gdbserver to avoid `...' `...`, and ``...'' when quoting
Tom> output, preferring double quotes instead.
Tom> I wrote this by writing a short script using Pygments to find all
Tom> strings in the source using the back-quote character; then fixing all
Tom> the relevant ones.
Tom> I've also fixed up the test suite, though there are probably tests I
Tom> have missed, since I did this primarily by looking at regressions.
Tom> (The only exception being s390-multiarch.exp, which I found while
Tom> searching for a particular string.)
Tom> I think it would also be good to tackle '...' quoting, but I haven't
Tom> attempted that yet.
I've rebased this and re-run my original checking script.
It found a minor change or two, but nothing serious.
I've re-regression tested this on x86-64 Fedora 40.
I'm going to check it in.
It's possible there will be regressions on other platforms, I suppose.
Feel free to email me if so and I will try to fix them.
thanks,
Tom
prev parent reply other threads:[~2026-11-05 20:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-22 20:30 Tom Tromey
2026-08-22 20:30 ` [PATCH 1/5] Change `...'-style quoting in gdbsupport Tom Tromey
2026-08-22 20:30 ` [PATCH 2/5] Change `...'-style quoting in gdbserver Tom Tromey
2026-08-22 20:30 ` [PATCH 3/5] Fix weird quoting in stap-probe.c Tom Tromey
2026-08-23 4:31 ` Eli Zaretskii
2026-08-24 18:09 ` Tom de Vries
2026-09-03 16:04 ` Tom Tromey
2026-08-22 20:30 ` [PATCH 4/5] Change `...'-style quoting in gdb Tom Tromey
2026-08-22 20:30 ` [PATCH 5/5] Fix styling in a few messages Tom Tromey
2026-11-05 20:23 ` Tom Tromey [this message]
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=87ld77xc1u.fsf@tromey.com \
--to=tom@tromey.com \
--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