Re: Host GDB disconnect while waiting for tracee status change

Dmitry Antipov <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.