Re: [PATCH v5 21/22] gdbstub: change GDBState.last_packet to GByteArray

2020-01-15 Thread Richard Henderson
On 1/14/20 5:09 AM, Alex Bennée wrote: > From: Damien Hedde > > Remove the packet size upper limit by using a GByteArray > instead of a statically allocated array for last_packet. > Thus we can now send big packets. > > Also remove the last_packet_len field and use last_packet->len > instead. >

[PATCH v5 21/22] gdbstub: change GDBState.last_packet to GByteArray

2020-01-14 Thread Alex Bennée
From: Damien Hedde Remove the packet size upper limit by using a GByteArray instead of a statically allocated array for last_packet. Thus we can now send big packets. Also remove the last_packet_len field and use last_packet->len instead. Signed-off-by: Damien Hedde Reviewed-by: Philippe