Re: [RFC PATCH 03/11] gdbstub: move str_buf to GDBState and use GString

2019-11-18 Thread Richard Henderson
On 11/15/19 6:29 PM, Alex Bennée wrote: > Rather than having a static buffer replace str_buf with a GString > which we know can grow on demand. Convert the internal functions to > take a GString instead of a char * and length. > > Signed-off-by: Alex Bennée > --- > gdbstub.c | 194 ++

[RFC PATCH 03/11] gdbstub: move str_buf to GDBState and use GString

2019-11-15 Thread Alex Bennée
Rather than having a static buffer replace str_buf with a GString which we know can grow on demand. Convert the internal functions to take a GString instead of a char * and length. Signed-off-by: Alex Bennée --- gdbstub.c | 194 -- 1 file chang