This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 09/17] i386 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:17 -0300
- Subject: [PATCH 09/17] i386 support
- References: <1372664545-3947-1-git-send-email-sergiodj at redhat dot com>
i386 support. Really trivial; only set gdbarch_gdb_signal_to_target.
2013-07-01 Sergio Durigan Junior <sergiodj@redhat.com>
* i386-linux-tdep.c (i386_linux_init_abi): Set
gdbarch_gdb_signal_to_target to linux_gdb_signal_to_target.
---
gdb/i386-linux-tdep.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index fc9de62..cf6c412 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -964,6 +964,11 @@ i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_get_syscall_number (gdbarch,
i386_linux_get_syscall_number);
+ /* Convert the internal GDB signal representation to the
+ target's. */
+ set_gdbarch_gdb_signal_to_target (gdbarch,
+ linux_gdb_signal_to_target);
+
set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
}
--
1.7.11.7