aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-io.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-05-30 22:54:07 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-06-07 22:54:06 -0400
commit9102a6c15c756c55e77c0fa7deecfc58fa8a361e (patch)
treee7473fac3597cc10a470a4db7fdfc944329cc474 /gdb/tui/tui-io.c
parenta791eef767389b2bf88c67f3361a001677f8caa7 (diff)
downloadgdb-9102a6c15c756c55e77c0fa7deecfc58fa8a361e.zip
gdb-9102a6c15c756c55e77c0fa7deecfc58fa8a361e.tar.gz
gdb-9102a6c15c756c55e77c0fa7deecfc58fa8a361e.tar.bz2
gdb/tui: cleanup includes
Remove includes reported as unused by clangd. Then, add any includes necessary to get rid of errors (includes possibly relying on previous includes).. I didn't remove the includes of gdb-safe-ctypes.h, because it appears to do some some preprocessor magic, redefining standard macros. I'm afraid that removing these includes could change the behavior unintentionally. Change-Id: I4c5b652355c3bbce022fe0d447a72dc4e1d17d34 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/tui/tui-io.c')
-rw-r--r--gdb/tui/tui-io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index 299a809..f962d7b 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -23,7 +23,6 @@
#include "target.h"
#include "gdbsupport/event-loop.h"
#include "event-top.h"
-#include "command.h"
#include "top.h"
#include "ui.h"
#include "tui/tui.h"