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-winsource.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/tui/tui-winsource.c') diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c index e0f856c..074069e 100644 --- a/gdb/tui/tui-winsource.c +++ b/gdb/tui/tui-winsource.c @@ -19,14 +19,13 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include +#include "observable.h" #include "symtab.h" #include "frame.h" #include "breakpoint.h" #include "value.h" #include "source.h" #include "objfiles.h" -#include "filenames.h" #include "gdbsupport/gdb-safe-ctype.h" #include "tui/tui.h" @@ -34,7 +33,6 @@ #include "tui/tui-io.h" #include "tui/tui-status.h" #include "tui/tui-win.h" -#include "tui/tui-wingeneral.h" #include "tui/tui-winsource.h" #include "tui/tui-source.h" #include "tui/tui-disasm.h" -- cgit v1.1