Host GDB disconnect while waiting for tracee status change

Dmitry Antipov dantipov@nvidia.com
Wed Aug 23 13:56:00 GMT 2017


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?

Dmitry



More information about the Gdb mailing list