Implement event-loop glue for gdbserver
authorTom Tromey <tom@tromey.com>
Mon, 13 Apr 2020 18:42:59 +0000 (12:42 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 13 Apr 2020 20:10:04 +0000 (14:10 -0600)
commite487f9949ab654b20da8ac01b8311ae956136e5e
tree8941994b07dea334a3c4583b4c6e868e6391adf5
parent400b5eca00033a782467d28b23392b9cf428c2b1
Implement event-loop glue for gdbserver

event-loop.c requires the client to provide some functions.  This
patch implements these functions for gdbserver.

gdbserver/ChangeLog
2020-04-13  Tom Tromey  <tom@tromey.com>

* server.c (invoke_async_signal_handlers)
(check_async_event_handlers, flush_streams, gdb_select): New
functions.
gdbserver/ChangeLog
gdbserver/server.cc