Introduce async-event.[ch]
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)
commit93b54c8ed3644a6604c5244faddf5dae7f60a743
tree1db8cfd6f1f7c967270b9f396622848d179235d5
parentc1cd3163d99efe4f7cbe7f228859fd93f28e06bb
Introduce async-event.[ch]

This patch splits out some gdb-specific code from event-loop, into new
files async-event.[ch].  Strictly speaking this code could perhaps be
put into gdbsupport/, but because gdbserver does not currently use it,
it seemed better, for size reasons, to split it out.

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

* tui/tui-win.c: Include async-event.h.
* remote.c: Include async-event.h.
* remote-notif.c: Include async-event.h.
* record-full.c: Include async-event.h.
* record-btrace.c: Include async-event.h.
* infrun.c: Include async-event.h.
* event-top.c: Include async-event.h.
* event-loop.h: Move some declarations to async-event.h.
* event-loop.c: Don't include ser-event.h or top.h.  Move some
code to async-event.c.
* async-event.h: New file.
* async-event.c: New file.
* Makefile.in (COMMON_SFILES): Add async-event.c.
(HFILES_NO_SRCDIR): Add async-event.h.
13 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/async-event.c [new file with mode: 0644]
gdb/async-event.h [new file with mode: 0644]
gdb/event-loop.c
gdb/event-loop.h
gdb/event-top.c
gdb/infrun.c
gdb/record-btrace.c
gdb/record-full.c
gdb/remote-notif.c
gdb/remote.c
gdb/tui/tui-win.c
This page took 0.040589 seconds and 4 git commands to generate.