Host GDB disconnect while waiting for tracee status change
Dmitry Antipov <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, Is there a feature/option/etc. to gracefully handle the situation when gdbserver sits waiting for tracee status change and the network connection is getting lost? AFAICS in case of Linux, linux_wait_for_event_filtered() just enters sigsuspend() waiting for SIGCHLD and ignoring anything else, thus having no opportunity to detect any socket status changes even if the latter are signaled with SIGIOs requested in enable_async_notification(). Thanks in advance, Dmitry