This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 19 Jul 2012 14:04:17 +0200
- Subject: [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc
Tested on ppc{,64}-linux. OK for trunk and 7.5 branch?
Andreas.
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
linux_get_siginfo_type.
---
gdb/ppc-linux-tdep.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 98704c1..c7b70db 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -1822,6 +1822,8 @@ ppc_linux_init_abi (struct gdbarch_info info,
set_gdbarch_displaced_step_location (gdbarch,
ppc_linux_displaced_step_location);
}
+
+ set_gdbarch_get_siginfo_type (gdbarch, linux_get_siginfo_type);
}
/* Provide a prototype to silence -Wmissing-prototypes. */
--
1.7.11.2
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."