From: Tom Tromey <tom@tromey.com>
To: Andrew Burgess <aburgess@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 1/3] gdbsupport: update comment on hex2bin
Date: Mon, 09 Nov 2026 09:49:44 -0700 [thread overview]
Message-ID: <87h5hquezb.fsf@tromey.com> (raw)
In-Reply-To: <fcbc949ae8a7ae81637cfb7f85d0f9555b09dce9.1794238395.git.aburgess@redhat.com> (Andrew Burgess's message of "Mon, 9 Nov 2026 15:35:50 +0000")
>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:
Andrew> The comment on hex2bin says that the argument COUNT is the maximum
Andrew> number of characters to convert. I don't think this is correct, COUNT
Andrew> is the maximum number of bytes to convert, with each byte being
Andrew> represented by two characters.
Andrew> The comment already talks about converting "pairs of hex digits", so
Andrew> I've updated the comment to indicate that COUNT is the number of
Andrew> character pairs to convert.
Andrew> There is no functional change after this commit.
Thanks.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
next prev parent reply other threads:[~2026-11-09 16:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 15:35 [PATCH 0/3] gdb/remote: improve packet buffer checks for p packet Andrew Burgess
2026-11-09 15:35 ` [PATCH 1/3] gdbsupport: update comment on hex2bin Andrew Burgess
2026-11-09 16:49 ` Tom Tromey [this message]
2026-11-09 15:35 ` [PATCH 2/3] gdbserver: add support for p/P packets and flag to disable g/G packets Andrew Burgess
2026-11-09 17:16 ` Tom Tromey
2026-11-09 15:35 ` [PATCH 3/3] gdb/remote: improve error checking for 'p' packet reply Andrew Burgess
2026-11-09 17:27 ` Tom Tromey
2026-11-23 16:44 ` Andrew Burgess
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=87h5hquezb.fsf@tromey.com \
--to=tom@tromey.com \
--cc=aburgess@redhat.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