[PATCH v2 0/5] Unify getpkt methods in remote.c

Tom Tromey tromey@adacore.com
Mon Aug 28 20:05:51 GMT 2023


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>



More information about the Gdb-patches mailing list