This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 18/18] AArch64 support
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Mon, 01 Jul 2013 07:46:45 -0300
- Subject: [PATCH 18/18] AArch64 support
- References: <1372664545-3947-1-git-send-email-sergiodj at redhat dot com>
[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