aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-linux-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2019-12-04 13:33:02 -0500
committerSimon Marchi <simon.marchi@efficios.com>2019-12-04 13:33:02 -0500
commitbe155ebb949dd8e7ef6a494a9c276c3c4673643c (patch)
treeb0acc3ff1ada8fee6d8b92dc4ef2d5e51853322e /gdb/aarch64-linux-tdep.c
parentc577cdd70bc8aecb4635ac3ff3d2226cc3311da7 (diff)
downloadgdb-be155ebb949dd8e7ef6a494a9c276c3c4673643c.zip
gdb-be155ebb949dd8e7ef6a494a9c276c3c4673643c.tar.gz
gdb-be155ebb949dd8e7ef6a494a9c276c3c4673643c.tar.bz2
Remove unused includes in aarch64-linux-tdep.c
include-what-you-use reports: ../../../src/binutils-gdb/gdb/aarch64-linux-tdep.c should remove these lines: - #include "arch-utils.h" // lines 24-24 - #include "auxv.h" // lines 48-48 - #include "cli/cli-utils.h" // lines 39-39 - #include "elf/common.h" // lines 49-49 - #include "inferior.h" // lines 35-35 Add an include for "target/target.h", otherwise target_read_memory isn't found. gdb/ChangeLog: * aarch64-linux-tdep.c: Remove includes.
Diffstat (limited to 'gdb/aarch64-linux-tdep.c')
-rw-r--r--gdb/aarch64-linux-tdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index c8e30a4..1d4aac7 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -21,7 +21,6 @@
#include "defs.h"
#include "gdbarch.h"
-#include "arch-utils.h"
#include "glibc-tdep.h"
#include "linux-tdep.h"
#include "aarch64-tdep.h"
@@ -31,12 +30,11 @@
#include "symtab.h"
#include "tramp-frame.h"
#include "trad-frame.h"
+#include "target/target.h"
-#include "inferior.h"
#include "regcache.h"
#include "regset.h"
-#include "cli/cli-utils.h"
#include "stap-probe.h"
#include "parser-defs.h"
#include "user-regs.h"
@@ -45,8 +43,6 @@
#include "record-full.h"
#include "linux-record.h"
-#include "auxv.h"
-#include "elf/common.h"
/* Signal frame handling.