aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <willnewton@sourceware.org>2013-10-10 10:40:42 +0000
committerWill Newton <willnewton@sourceware.org>2013-10-10 10:40:42 +0000
commit05feb1933f80f2d55e132adc657d3152947af3d1 (patch)
treec7efcf7b491d99cbf1da2cfa31110785a2db7da5
parent4f424bb1e78624c3c963bee652a587c352cb4916 (diff)
downloadgdb-05feb1933f80f2d55e132adc657d3152947af3d1.zip
gdb-05feb1933f80f2d55e132adc657d3152947af3d1.tar.gz
gdb-05feb1933f80f2d55e132adc657d3152947af3d1.tar.bz2
gdb/aarch64-linux-tdep.c: Call linux_init_abi.
If we are running on a Linux platform we should call linux_init_abi in order to get all the useful hooks it enables. gdb/ChangeLog: 2013-10-10 Will Newton <will.newton@linaro.org> * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call linux_init_abi.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/aarch64-linux-tdep.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4372579..7a41967 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-10 Will Newton <will.newton@linaro.org>
+
+ * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
+ linux_init_abi.
+
2013-10-10 Joel Brobecker <brobecker@adacore.com>
* cli/cli-cmds.c (show_baud_rate): Moved to serial.c as
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index 8e66425..bcfcce2 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -270,6 +270,8 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
tdep->lowest_pc = 0x8000;
+ linux_init_abi (info, gdbarch);
+
set_solib_svr4_fetch_link_map_offsets (gdbarch,
svr4_lp64_fetch_link_map_offsets);