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 13/17] mn10300 support


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


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