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.
This commit is contained in:
parent
c1cd3163d9
commit
93b54c8ed3
13 changed files with 430 additions and 345 deletions
|
@ -77,6 +77,7 @@
|
|||
#include "gdbsupport/byte-vector.h"
|
||||
#include <algorithm>
|
||||
#include <unordered_map>
|
||||
#include "async-event.h"
|
||||
|
||||
/* The remote target. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue