From 93b54c8ed3644a6604c5244faddf5dae7f60a743 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 13 Apr 2020 12:42:59 -0600 Subject: 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 * 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. --- gdb/tui/tui-win.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/tui') 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" -- cgit v1.1