diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-27 10:37:58 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-27 10:37:58 -0400 |
commit | 7f40ce1a9ea16720b9e9199a20173ed29285da9a (patch) | |
tree | 4b8df16c7cb37afc2611b66fd838a86a7109babc /gdb/m32c-tdep.c | |
parent | 5eb9e3f51758e8fff6020b136f5b193563fee014 (diff) | |
download | gdb-7f40ce1a9ea16720b9e9199a20173ed29285da9a.zip gdb-7f40ce1a9ea16720b9e9199a20173ed29285da9a.tar.gz gdb-7f40ce1a9ea16720b9e9199a20173ed29285da9a.tar.bz2 |
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
Diffstat (limited to 'gdb/m32c-tdep.c')
-rw-r--r-- | gdb/m32c-tdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
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 <http://www.gnu.org/licenses/>. */ #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, |