diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-13 12:42:59 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-13 14:10:04 -0600 |
commit | 55d7aec85e81c4597e94ebcc8b85f20a1d439bd0 (patch) | |
tree | 664fe7b861844fbe141d01768c38e2f6b033399e /gdbserver/Makefile.in | |
parent | e487f9949ab654b20da8ac01b8311ae956136e5e (diff) | |
download | gdb-55d7aec85e81c4597e94ebcc8b85f20a1d439bd0.zip gdb-55d7aec85e81c4597e94ebcc8b85f20a1d439bd0.tar.gz gdb-55d7aec85e81c4597e94ebcc8b85f20a1d439bd0.tar.bz2 |
Switch gdbserver to gdbsupport event loop
This changes gdbserver to use the gdbserver event loop, removing the
ancient fork.
gdbserver/ChangeLog
2020-04-13 Tom Tromey <tom@tromey.com>
* server.h (handle_serial_event, handle_target_event): Update.
* server.c: Don't call initialize_event_loop.
(keep_processing_events): New global.
(handle_serial_event): Return void. Set keep_processing_events.
(handle_target_event): Return void.
(start_event_loop): Move from event-loop.c. Rewrite.
* remote-utils.c (handle_accept_event): Return void.
(reset_readchar): Use delete_timer.
(process_remaining): Return void.
(reschedule): Use create_timer.
* event-loop.h: Remove.
* event-loop.cc: Remove.
* Makefile.in (OBS): Use gdbsupport/event-loop.o, not event-loop.o.
Diffstat (limited to 'gdbserver/Makefile.in')
-rw-r--r-- | gdbserver/Makefile.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in index 8c35c16..417a530 100644 --- a/gdbserver/Makefile.in +++ b/gdbserver/Makefile.in @@ -241,7 +241,6 @@ OBS = \ ax.o \ debug.o \ dll.o \ - event-loop.o \ hostio.o \ inferiors.o \ mem-break.o \ |