On 10/19/2017 02:39 PM, Pedro Alves wrote: > No good reason. Sounds like you found a bug. Currently gdbserver installs SIGIO handler just once, in initialize_async_io () called from captured_main (), and this handler is removed when remote_desc is closed in remote_close (). Next, when a new instance of remote_desc is fetched from accept () and has '\003' arrived, input_interrupt () is never called because it is not registered as SIGIO handler. Probably the fix is to (re)install SIGIO handler each time when a new async-served descriptor gets hooked into an event loop, for example, in enable_async_notification (). Dmitry