This is the mail archive of the
mailing list for the GDB project.
Re: Host GDB disconnect while waiting for tracee status change
On 08/23/2017 04:10 PM, Pedro Alves wrote:
Right, because in non-stop mode, linux-low.c doesn't
usually block inside mywait....sigsuspend. See server.c:resume.
In non-stop mode, gdbserver waits for both socket events and
target events at the same time in the event loop. The
non-stop variant of the RSP is asynchronous.
Thanks. So, is it mandatory to use non-stop mode if I want to be able to
restart gdb without loosing the debugging session controlled by gdbserver?