Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb/aarch64-linux-tdep.c: Call linux_init_abi.
@ 2013-10-04 19:27 Will Newton
  2013-10-07  5:02 ` Joel Brobecker
  0 siblings, 1 reply; 4+ messages in thread
From: Will Newton @ 2013-10-04 19:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: patches


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-04  Will Newton  <will.newton@linaro.org>

	* aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
	linux_init_abi.
---
 gdb/aarch64-linux-tdep.c | 2 ++
 1 file changed, 2 insertions(+)

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);

-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-10 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 19:27 [PATCH] gdb/aarch64-linux-tdep.c: Call linux_init_abi Will Newton
2013-10-07  5:02 ` Joel Brobecker
2013-10-07  7:36   ` Will Newton
2013-10-10 10:41     ` Will Newton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox