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 08/17] h8300 support


Support for the h8300 architecture.  Trivial; it shares the signal
numbers with x86.

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

	* h8300-tdep.c: Include linux-tdep.h.
	(h8300_gdbarch_init): Set gdbarch_gdb_signal_to_target
	to linux_gdb_signal_to_target.
---
 gdb/h8300-tdep.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 0e9d6c4..7ace0ca 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -33,6 +33,7 @@
 #include "dwarf2-frame.h"
 #include "frame-base.h"
 #include "frame-unwind.h"
+#include "linux-tdep.h"
 
 enum gdb_regnum
 {
@@ -1357,6 +1358,9 @@ h8300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   dwarf2_append_unwinders (gdbarch);
   frame_unwind_append_unwinder (gdbarch, &h8300_frame_unwind);
 
+  set_gdbarch_gdb_signal_to_target (gdbarch,
+				    linux_gdb_signal_to_target);
+
   return gdbarch;
 
 }
-- 
1.7.11.7


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