This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 18/18] AArch64 support


[Andreas noticed that I forgot about AArch64, so here is the patch.
Sorry for the confusion.]

Support for AArch64 target.  Trivial, since it shares the signal numbers
with x86.

2013-07-01  Sergio Durigan Junior  <sergiodj@redhat.com>

	* aarch64-linux-tdep.c (aarch64_linux_init_abi): Set
	gdbarch_gdb_signal_to_target to linux_gdb_signal_to_target.
---
 gdb/aarch64-linux-tdep.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index 8e66425..324cc8c 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -288,6 +288,9 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
   set_gdbarch_regset_from_core_section (gdbarch,
 					aarch64_linux_regset_from_core_section);
+
+  set_gdbarch_gdb_signal_to_target (gdbarch,
+				    linux_gdb_signal_to_target);
 }
 
 /* Provide a prototype to silence -Wmissing-prototypes.  */

-- 
Sergio


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]