From 05feb1933f80f2d55e132adc657d3152947af3d1 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Thu, 10 Oct 2013 10:40:42 +0000 Subject: [PATCH] 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 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call linux_init_abi. --- gdb/ChangeLog | 5 +++++ gdb/aarch64-linux-tdep.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 437257914cf..7a41967c046 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-10-10 Will Newton + + * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call + linux_init_abi. + 2013-10-10 Joel Brobecker * 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 8e66425ec17..bcfcce254f0 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); -- 2.30.2