From 5eb9e3f51758e8fff6020b136f5b193563fee014 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 27 Oct 2020 10:28:27 -0400 Subject: gdb: remove unused includes in xtensa-tdep.c include-what-you-use says that these includes are not necessary in xtensa-tdep.c: ../../../src/binutils-gdb/gdb/xtensa-tdep.c should remove these lines: - #include "dis-asm.h" // lines 29-29 - #include "dummy-frame.h" // lines 36-36 - #include "dwarf2.h" // lines 37-37 - #include "dwarf2/loc.h" // lines 39-39 - #include "inferior.h" // lines 30-30 - #include "objfiles.h" // lines 25-25 - #include "remote.h" // lines 45-45 - #include "serial.h" // lines 46-46 - #include "symfile.h" // lines 24-24 That looks about right, so remove them. Tested by re-building. gdb/ChangeLog: * xtensa-tdep.c: Remove includes. Change-Id: I9774ec59a68dd94e06967713d2f271b1760f6e6a --- gdb/xtensa-tdep.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gdb/xtensa-tdep.c') diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index 97486de..0eeaae1 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -21,29 +21,20 @@ #include "frame.h" #include "solib-svr4.h" #include "symtab.h" -#include "symfile.h" -#include "objfiles.h" #include "gdbtypes.h" #include "gdbcore.h" #include "value.h" -#include "dis-asm.h" -#include "inferior.h" #include "osabi.h" #include "regcache.h" #include "reggroups.h" #include "regset.h" -#include "dummy-frame.h" -#include "dwarf2.h" #include "dwarf2/frame.h" -#include "dwarf2/loc.h" #include "frame-base.h" #include "frame-unwind.h" #include "arch-utils.h" #include "gdbarch.h" -#include "remote.h" -#include "serial.h" #include "command.h" #include "gdbcmd.h" -- cgit v1.1