On 11/15/19 6:29 PM, Alex Bennée wrote: > We only have one GDBState which should be allocated at the time we > process any commands. This will make further clean-up a bit easier. > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > --- > gdbstub.c | 307 +++++++++++++++++++++++++++++++----------------------- > 1 file changed, 177 insertions(+), 130 deletions(-) Do we know why we choose to pass GDBState * everywhere ? It sounds like a way to eventually handle multiple gdb connections but I don't know if it has some sense. Damien
- Re: [RFC PATCH 01/11] gdbstub: move allocation of G... Richard Henderson
- Re: [RFC PATCH 01/11] gdbstub: move allocation ... Damien Hedde
- Re: [RFC PATCH 01/11] gdbstub: move allocat... Richard Henderson
- Re: [RFC PATCH 01/11] gdbstub: move allocation of G... Damien Hedde
- [RFC PATCH 07/11] target/m68k: use gdb_get_reg helpers Alex Bennée
- Re: [RFC PATCH 07/11] target/m68k: use gdb_get_reg ... Richard Henderson
- [RFC PATCH 02/11] gdbstub: stop passing GDBState * arou... Alex Bennée
- Re: [RFC PATCH 02/11] gdbstub: stop passing GDBStat... Richard Henderson
- Re: [RFC PATCH 02/11] gdbstub: stop passing GDB... Alex Bennée
- Re: [RFC PATCH 02/11] gdbstub: stop passing... Richard Henderson
- Re: [RFC PATCH 02/11] gdbstub: stop passing GDBStat... Damien Hedde
- [RFC PATCH 05/11] gdbstub: add helper for 128 bit regis... Alex Bennée
- Re: [RFC PATCH 05/11] gdbstub: add helper for 128 b... Richard Henderson
- [RFC PATCH 04/11] gdbstub: move mem_buf to GDBState and ... Alex Bennée
- Re: [RFC PATCH 04/11] gdbstub: move mem_buf to GDBS... Richard Henderson
- [RFC PATCH 09/11] target/arm: prepare for multiple dyna... Alex Bennée
- [RFC PATCH 10/11] target/arm: explicitly encode regnum ... Alex Bennée
- Re: [RFC PATCH 10/11] target/arm: explicitly encode... Richard Henderson
- [RFC PATCH 03/11] gdbstub: move str_buf to GDBState and... Alex Bennée
- Re: [RFC PATCH 03/11] gdbstub: move str_buf to GDBS... Richard Henderson