public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Unify getpkt methods in remote.c
@ 2023-08-28 20:05 Tom Tromey
  2023-08-28 20:05 ` [PATCH v2 1/5] Remove getpkt_sane Tom Tromey
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Tom Tromey @ 2023-08-28 20:05 UTC (permalink / raw)
  To: gdb-patches

This series unifies the various getpkt methods in remote.c, and
applies a little bit of bool-ification as well.

---
Changes in v2:
- Default 'forever' to false
- Link to v1: https://inbox.sourceware.org/gdb-patches/20230828-getpkt-cleanup-v1-0-0f3da220530c@adacore.com

---
Tom Tromey (5):
      Remove getpkt_sane
      Remove expecting_notif parameter from getpkt_or_notif_sane_1
      Use bool in getpkt
      Unify getpkt and getpkt_or_notif_sane
      Default getpkt 'forever' parameter to 'false'

 gdb/remote.c | 243 +++++++++++++++++++++++++----------------------------------
 1 file changed, 104 insertions(+), 139 deletions(-)
---
base-commit: b8a175b415454df6a039ba0b5d2ff13c3c180275
change-id: 20230828-getpkt-cleanup-126c625821bf

Best regards,
-- 
Tom Tromey <tromey@adacore.com>


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

end of thread, other threads:[~2023-08-28 21:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-28 20:05 [PATCH v2 0/5] Unify getpkt methods in remote.c Tom Tromey
2023-08-28 20:05 ` [PATCH v2 1/5] Remove getpkt_sane Tom Tromey
2023-08-28 20:05 ` [PATCH v2 2/5] Remove expecting_notif parameter from getpkt_or_notif_sane_1 Tom Tromey
2023-08-28 20:05 ` [PATCH v2 3/5] Use bool in getpkt Tom Tromey
2023-08-28 20:05 ` [PATCH v2 4/5] Unify getpkt and getpkt_or_notif_sane Tom Tromey
2023-08-28 20:05 ` [PATCH v2 5/5] Default getpkt 'forever' parameter to 'false' Tom Tromey
2023-08-28 21:15 ` [PATCH v2 0/5] Unify getpkt methods in remote.c John Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).