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 11/17] m32r support


This is the support for the m32r architecture.  Trivial, because it
shares the signal numbers with x86.

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

	* m32r-linux-tdep.c (m32r_linux_init_abi): Set
	gdbarch_gdb_signal_to_target to linux_gdb_signal_to_target.
---
 gdb/m32r-linux-tdep.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gdb/m32r-linux-tdep.c b/gdb/m32r-linux-tdep.c
index 1994e92..973493f 100644
--- a/gdb/m32r-linux-tdep.c
+++ b/gdb/m32r-linux-tdep.c
@@ -427,6 +427,8 @@ m32r_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   /* Enable TLS support.  */
   set_gdbarch_fetch_tls_load_module_address (gdbarch,
                                              svr4_fetch_objfile_link_map);
+
+  set_gdbarch_gdb_signal_to_target (gdbarch, linux_gdb_signal_to_target);
 }
 
 /* Provide a prototype to silence -Wmissing-prototypes.  */
-- 
1.7.11.7


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