From 7f40ce1a9ea16720b9e9199a20173ed29285da9a Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 27 Oct 2020 10:37:58 -0400 Subject: gdb: remove unused includes in m32c-tdep.c include-what-you-use says: ../../../src/binutils-gdb/gdb/m32c-tdep.c should remove these lines: - #include "dis-asm.h" // lines 24-24 - #include "dwarf2/expr.h" // lines 31-31 - #include "dwarf2/frame.h" // lines 30-30 - #include "elf-bfd.h" // lines 21-21 - #include "elf/m32c.h" // lines 22-22 - #include "target.h" // lines 37-37 - struct m32c_reg; // lines 45-45 That looks right, remove them. Tested by rebuilding. gdb/ChangeLog: * m32c-tdep.c: Remove unused includes. Change-Id: I28b41795f3bcc5406488dbf272c9e86fd5781b6b --- gdb/m32c-tdep.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gdb/m32c-tdep.c') diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index d579616..d315076 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -18,23 +18,17 @@ along with this program. If not, see . */ #include "defs.h" -#include "elf-bfd.h" -#include "elf/m32c.h" #include "gdb/sim-m32c.h" -#include "dis-asm.h" #include "gdbtypes.h" #include "regcache.h" #include "arch-utils.h" #include "frame.h" #include "frame-unwind.h" -#include "dwarf2/frame.h" -#include "dwarf2/expr.h" #include "symtab.h" #include "gdbcore.h" #include "value.h" #include "reggroups.h" #include "prologue-value.h" -#include "target.h" #include "objfiles.h" @@ -42,8 +36,6 @@ static struct reggroup *m32c_dma_reggroup; -struct m32c_reg; - /* The type of a function that moves the value of REG between CACHE or BUF --- in either direction. */ typedef enum register_status (m32c_write_reg_t) (struct m32c_reg *reg, -- cgit v1.1