Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] gdb/remote: improve packet buffer checks for p packet
@ 2026-11-09 15:35 Andrew Burgess
  2026-11-09 15:35 ` [PATCH 1/3] gdbsupport: update comment on hex2bin Andrew Burgess
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Burgess @ 2026-11-09 15:35 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

(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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-23 16:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox