This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 13/17] mn10300 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:21 -0300
- Subject: [PATCH 13/17] mn10300 support
- References: <1372664545-3947-1-git-send-email-sergiodj at redhat dot com>
This is the mn10300 target support. Again, trivial: it shares the
signal numbers with x86.
2013-07-01 Sergio Durigan Junior <sergiodj@redhat.com>
* mn10300-linux-tdep.c (am33_linux_init_osabi): Set
gdbarch_gdb_signal_to_target to linux_gdb_signal_to_target.
---
gdb/mn10300-linux-tdep.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c
index 881af2b..95a72a6 100644
--- a/gdb/mn10300-linux-tdep.c
+++ b/gdb/mn10300-linux-tdep.c
@@ -720,6 +720,8 @@ am33_linux_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_ilp32_fetch_link_map_offsets);
+ set_gdbarch_gdb_signal_to_target (gdbarch, linux_gdb_signal_to_target);
+
tramp_frame_prepend_unwinder (gdbarch, &am33_linux_sigframe);
tramp_frame_prepend_unwinder (gdbarch, &am33_linux_rt_sigframe);
}
--
1.7.11.7