Re: [RFC PATCH 04/11] gdbstub: move mem_buf to GDBState and use GByteArray

2019-11-18 Thread Richard Henderson
On 11/15/19 6:29 PM, 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. > >

[RFC PATCH 04/11] gdbstub: move mem_buf to GDBState and use GByteArray

2019-11-15 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 --- gdbstub.c | 52