Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Host GDB disconnect while waiting for tracee status change
@ 2017-08-22 13:23 Dmitry Antipov
  2017-08-23  8:18 ` Yao Qi
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Antipov @ 2017-08-22 13:23 UTC (permalink / raw)
  To: gdb; +Cc: Ryan Bissell, Mikhail Filimonov

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-23 15:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22 13:23 Host GDB disconnect while waiting for tracee status change Dmitry Antipov
2017-08-23  8:18 ` Yao Qi
2017-08-23  9:37   ` Dmitry Antipov
2017-08-23 13:10     ` Pedro Alves
2017-08-23 13:56       ` Dmitry Antipov
2017-08-23 15:01         ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox