Remove unused includes in aarch64-tdep.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 4 Dec 2019 18:32:33 +0000 (13:32 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Dec 2019 18:32:33 +0000 (13:32 -0500)
include-what-you-use reports:

../../../src/binutils-gdb/gdb/aarch64-tdep.c should remove these lines:
- #include "ax.h"  // lines 45-45
- #include "elf-bfd.h"  // lines 52-52
- #include "elf/aarch64.h"  // lines 53-53
- #include "infcall.h"  // lines 44-44
- #include "inferior.h"  // lines 24-24
- #include "language.h"  // lines 43-43

gdb/ChangeLog:

* aarch64-tdep.c: Remove includes.

gdb/ChangeLog
gdb/aarch64-tdep.c

index e861d5dac66fe5110e3c7810bbd21194698b44a9..f0ec1e6434f65b45c134a6855942e66e634befb9 100644 (file)
@@ -1,3 +1,7 @@
+2019-12-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * aarch64-tdep.c: Remove includes.
+
 2019-12-04  Simon Marchi  <simon.marchi@efficios.com>
 
        * filtered-iterator.h (filtered_iterator) <operator==,
index af186e4b1be5fd66f69ab517ac9a7543c4117fb2..1d5fb2001d38c9ff1965b49882fe1603f1991c4a 100644 (file)
@@ -21,7 +21,6 @@
 #include "defs.h"
 
 #include "frame.h"
-#include "inferior.h"
 #include "gdbcmd.h"
 #include "gdbcore.h"
 #include "dis-asm.h"
 #include "prologue-value.h"
 #include "target-descriptions.h"
 #include "user-regs.h"
-#include "language.h"
-#include "infcall.h"
-#include "ax.h"
 #include "ax-gdb.h"
 #include "gdbsupport/selftest.h"
 
 #include "aarch64-tdep.h"
 #include "aarch64-ravenscar-thread.h"
 
-#include "elf-bfd.h"
-#include "elf/aarch64.h"
-
 #include "record.h"
 #include "record-full.h"
 #include "arch/aarch64-insn.h"