Re: [PATCH 3/3] gdbstub: replace exit(0) with proper shutdown

2023-08-18 Thread Clément Chigot
On Fri, Aug 18, 2023 at 11:10 AM Peter Maydell wrote: > > On Fri, 18 Aug 2023 at 10:03, Clément Chigot wrote: > > > > This replaces the exit(0) call by a shutdown request, ensuring a proper > > cleanup of Qemu. Otherwise, some connections could be broken without > > being correctly flushed. > > >

Re: [PATCH 3/3] gdbstub: replace exit(0) with proper shutdown

2023-08-18 Thread Peter Maydell
On Fri, 18 Aug 2023 at 10:03, Clément Chigot wrote: > > This replaces the exit(0) call by a shutdown request, ensuring a proper > cleanup of Qemu. Otherwise, some connections could be broken without > being correctly flushed. > > Signed-off-by: Clément Chigot > --- > gdbstub/gdbstub.c | 3 +-- >

[PATCH 3/3] gdbstub: replace exit(0) with proper shutdown

2023-08-18 Thread Clément Chigot
This replaces the exit(0) call by a shutdown request, ensuring a proper cleanup of Qemu. Otherwise, some connections could be broken without being correctly flushed. Signed-off-by: Clément Chigot --- gdbstub/gdbstub.c | 3 +-- gdbstub/softmmu.c | 11 +++ gdbstub/user.c| 2 ++ 3 fil