This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 12/17] m68klinux support
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Sergio Durigan Junior <sergiodj at redhat dot com>
- Date: Mon, 1 Jul 2013 04:42:20 -0300
- Subject: [PATCH 12/17] m68klinux support
- References: <1372664545-3947-1-git-send-email-sergiodj at redhat dot com>
Support for m68klinux. Trivial because the target shares the signal
numbers with x86.
2013-07-01 Sergio Durigan Junior <sergiodj@redhat.com>
* m68klinux-tdep.c (m68k_linux_init_abi): Set
gdbarch_gdb_signal_to_target to linux_gdb_signal_to_target.
---
gdb/m68klinux-tdep.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gdb/m68klinux-tdep.c b/gdb/m68klinux-tdep.c
index be90885..86b15b3 100644
--- a/gdb/m68klinux-tdep.c
+++ b/gdb/m68klinux-tdep.c
@@ -372,6 +372,9 @@ m68k_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
svr4_fetch_objfile_link_map);
set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
+
+ set_gdbarch_gdb_signal_to_target (gdbarch,
+ linux_gdb_signal_to_target);
}
/* Provide a prototype to silence -Wmissing-prototypes. */
--
1.7.11.7