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 09/17] i386 support


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


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