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-disasm.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-disasm.c')
-rw-r--r-- | gdb/tui/tui-disasm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c index 24a5044..0727d3a 100644 --- a/gdb/tui/tui-disasm.c +++ b/gdb/tui/tui-disasm.c @@ -29,13 +29,9 @@ #include "tui/tui.h" #include "tui/tui-command.h" #include "tui/tui-data.h" -#include "tui/tui-win.h" -#include "tui/tui-layout.h" #include "tui/tui-winsource.h" #include "tui/tui-status.h" -#include "tui/tui-file.h" #include "tui/tui-disasm.h" -#include "tui/tui-source.h" #include "progspace.h" #include "objfiles.h" #include "cli/cli-style.h" @@ -43,8 +39,6 @@ #include "gdbsupport/selftest.h" #include "inferior.h" -#include "gdb_curses.h" - struct tui_asm_line { CORE_ADDR addr; |