mbox series

[v2,0/2] gdbstub: allow sending packet of arbitrary length

Message ID 20191211160514.58373-1-damien.hedde@greensocs.com (mailing list archive)
Headers show
Series gdbstub: allow sending packet of arbitrary length | expand

Message

Damien Hedde Dec. 11, 2019, 4:05 p.m. UTC
Hi All,

This series is a follow-up of Alex's series about sve registers
which introduces some GbyteArray/Gstring in the gdbstub.

It removes the remaining barrier to send big packets.

In consequence, we can slso simply gdb_monitor_write().

Based-on <20191130084602.10818-1-alex.bennee@linaro.org>

v2:
+ patch 1: fix gdb_monitor_write() max_sz error (Luc)
+ patch 2: new patch (Luc)

--
Damien

Damien Hedde (2):
  gdbstub: change GDBState.last_packet to GByteArray
  gdbstub: do not split gdb_monitor_write payload

 gdbstub.c | 60 +++++++++++++++++++++----------------------------------
 1 file changed, 23 insertions(+), 37 deletions(-)