Re: [PATCH v2 8/9] gdbstub: ensure we clean-up when terminated

2020-12-18 Thread Philippe Mathieu-Daudé
On 12/18/20 12:27 PM, Alex Bennée wrote: > If you kill the inferior from GDB we end up leaving our socket lying > around. Fix this by calling gdb_exit() first. > > Signed-off-by: Alex Bennée > Reviewed-by: Richard Henderson > Message-Id: <20201214153012.12723-7-alex.ben...@linaro.org> > Signed-o

[PATCH v2 8/9] gdbstub: ensure we clean-up when terminated

2020-12-18 Thread Alex Bennée
If you kill the inferior from GDB we end up leaving our socket lying around. Fix this by calling gdb_exit() first. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20201214153012.12723-7-alex.ben...@linaro.org> Signed-off-by: Alex Bennée --- gdbstub.c | 2 ++ 1 file chang