From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: Tom Tromey <tom@tromey.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH v2] [gdb/remote] Reimplement escape_buffer
Date: Mon, 23 Mar 2026 12:28:27 -0600 [thread overview]
Message-ID: <87fr5q8kok.fsf@tromey.com> (raw)
In-Reply-To: <9b8e8980-581f-4e89-a843-b52b0bfaf3b7@suse.de> (Tom de Vries's message of "Mon, 23 Mar 2026 18:20:23 +0100")
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> Anyway, the way to make this work using putstrn is:
Tom> ...
Tom> @@ -10515,6 +10515,7 @@ static std::string
Tom> escape_buffer (const char *buf, int n)
Tom> {
Tom> string_file stb;
Tom> + scoped_restore reset = make_scoped_restore (&sevenbit_strings, true);
I think this would be fine, maybe with some suitable comment.
Tom
next prev parent reply other threads:[~2026-03-23 18:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-21 9:44 Tom de Vries
2026-03-23 14:12 ` Tom Tromey
2026-03-23 17:20 ` Tom de Vries
2026-03-23 18:28 ` Tom Tromey [this message]
2026-03-24 15:34 ` 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=87fr5q8kok.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.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