From 98841bd33223b2e62c98856dd29ab2d9cd7d1cdc Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 30 May 2024 16:25:23 -0400 Subject: gdb: cleanup includes in tui/ 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. I'm afraid that removing these includes could change the behavior unintentionally. Change-Id: I4c5b652355c3bbce022fe0d447a72dc4e1d17d34 --- gdb/tui/tui-layout.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdb/tui/tui-layout.c') diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 3cb5a05..665b521 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -19,15 +19,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "arch-utils.h" #include "command.h" #include "symtab.h" #include "frame.h" -#include "source.h" -#include "cli/cli-cmds.h" #include "cli/cli-decode.h" #include "cli/cli-utils.h" -#include #include #include "tui/tui.h" @@ -37,7 +33,6 @@ #include "tui/tui-status.h" #include "tui/tui-regs.h" #include "tui/tui-win.h" -#include "tui/tui-winsource.h" #include "tui/tui-disasm.h" #include "tui/tui-layout.h" #include "tui/tui-source.h" -- cgit v1.1