diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-05-30 22:54:07 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-06-07 22:54:06 -0400 |
commit | 9102a6c15c756c55e77c0fa7deecfc58fa8a361e (patch) | |
tree | e7473fac3597cc10a470a4db7fdfc944329cc474 /gdb/tui/tui.c | |
parent | a791eef767389b2bf88c67f3361a001677f8caa7 (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/tui/tui.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 1318cae..781ec85 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -28,7 +28,6 @@ #include "tui/tui-data.h" #include "tui/tui-layout.h" #include "tui/tui-io.h" -#include "tui/tui-regs.h" #include "tui/tui-status.h" #include "tui/tui-win.h" #include "tui/tui-wingeneral.h" @@ -36,18 +35,13 @@ #include "tui/tui-source.h" #include "target.h" #include "frame.h" -#include "breakpoint.h" #include "inferior.h" #include "symtab.h" -#include "source.h" #include "terminal.h" #include "top.h" #include "ui.h" -#include <ctype.h> -#include <signal.h> #include <fcntl.h> -#include <setjmp.h> #include "gdb_curses.h" #include "interps.h" |