From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PATCH 0/3] gdb/remote: improve packet buffer checks for p packet
Date: Mon, 9 Nov 2026 15:35:49 +0000 [thread overview]
Message-ID: <cover.1794238395.git.aburgess@redhat.com> (raw)
(1) Minor comment correctness fix.
(2) Add support for p/P packets to gdbserver.
(3) Improve GDB's handling of invalid 'p' packets.
Thanks,
Andrew
---
Andrew Burgess (3):
gdbsupport: update comment on hex2bin
gdbserver: add support for p/P packets and flag to disable g/G packets
gdb/remote: improve error checking for 'p' packet reply
gdb/remote.c | 44 ++--
gdb/testsuite/gdb.replay/p-packet.c | 22 ++
gdb/testsuite/gdb.replay/p-packet.exp | 213 ++++++++++++++++++
.../gdb.server/disable-gG-packet.exp | 143 ++++++++++++
gdbserver/server.cc | 170 +++++++++++++-
gdbserver/server.h | 1 +
gdbsupport/common-utils.h | 9 +-
7 files changed, 573 insertions(+), 29 deletions(-)
create mode 100644 gdb/testsuite/gdb.replay/p-packet.c
create mode 100644 gdb/testsuite/gdb.replay/p-packet.exp
create mode 100644 gdb/testsuite/gdb.server/disable-gG-packet.exp
base-commit: 686652a12e6d5042a11b5b2a2bf6a15fae361e80
--
2.25.4
next reply other threads:[~2026-11-09 15:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 15:35 Andrew Burgess [this message]
2026-11-09 15:35 ` [PATCH 1/3] gdbsupport: update comment on hex2bin Andrew Burgess
2026-11-09 16:49 ` Tom Tromey
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=cover.1794238395.git.aburgess@redhat.com \
--to=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