Re: [PATCH v2 04/14] gdbstub: move mem_buf to GDBState and use GByteArray

2019-12-03 Thread Damien Hedde
On 11/30/19 9:45 AM, Alex Bennée wrote: > This is in preparation for further re-factoring of the register API > with the rest of the code. Theoretically the read register function > could overwrite the MAX_PACKET_LENGTH buffer although currently all > registers are well within the size range. >

[PATCH v2 04/14] gdbstub: move mem_buf to GDBState and use GByteArray

2019-11-30 Thread Alex Bennée
This is in preparation for further re-factoring of the register API with the rest of the code. Theoretically the read register function could overwrite the MAX_PACKET_LENGTH buffer although currently all registers are well within the size range. Signed-off-by: Alex Bennée Reviewed-by: Richard Hen