Re: [PATCH v4 0/5] Risc-V/gdb: replace exit calls with proper shutdown

2023-10-04 Thread Alistair Francis
On Tue, Oct 3, 2023 at 5:14 PM Clément Chigot wrote: > > This series replaces some of the call to exit in hardware used by > Risc-V boards. Otherwise, the gdb connection can be abruptly > disconnected resulting in the last gdb packet "Wxx" being not sent. > > For the gdbstub modification, gdb_exit

[PATCH v4 0/5] Risc-V/gdb: replace exit calls with proper shutdown

2023-10-03 Thread Clément Chigot
This series replaces some of the call to exit in hardware used by Risc-V boards. Otherwise, the gdb connection can be abruptly disconnected resulting in the last gdb packet "Wxx" being not sent. For the gdbstub modification, gdb_exit calls ensure that the "Wxx" packet is sent before exiting. Howev