aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-04-13 12:42:59 -0600
committerTom Tromey <tromey@adacore.com>2020-04-13 14:10:04 -0600
commit93b54c8ed3644a6604c5244faddf5dae7f60a743 (patch)
tree1db8cfd6f1f7c967270b9f396622848d179235d5 /gdb/tui
parentc1cd3163d99efe4f7cbe7f228859fd93f28e06bb (diff)
downloadgdb-93b54c8ed3644a6604c5244faddf5dae7f60a743.zip
gdb-93b54c8ed3644a6604c5244faddf5dae7f60a743.tar.gz
gdb-93b54c8ed3644a6604c5244faddf5dae7f60a743.tar.bz2
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.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index b962e02..df7480f 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -35,6 +35,7 @@
#include "source.h"
#include "event-loop.h"
#include "gdbcmd.h"
+#include "async-event.h"
#include "tui/tui.h"
#include "tui/tui-io.h"