This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 08/17] h8300 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:16 -0300
- Subject: [PATCH 08/17] h8300 support
- References: <1372664545-3947-1-git-send-email-sergiodj at redhat dot com>
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