Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc
@ 2012-07-19 12:04 Andreas Schwab
  2012-07-31 18:34 ` Pedro Alves
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2012-07-19 12:04 UTC (permalink / raw)
  To: gdb-patches

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."


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc
  2012-07-19 12:04 [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc Andreas Schwab
@ 2012-07-31 18:34 ` Pedro Alves
  2012-07-31 19:17   ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro Alves @ 2012-07-31 18:34 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb-patches

On 07/19/2012 01:04 PM, Andreas Schwab wrote:
> Tested on ppc{,64}-linux.  OK for trunk and 7.5 branch?

The question that needs answering is whether PPC uses the generic
siginfo layout, as understood by linux_get_siginfo_type.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc
  2012-07-31 18:34 ` Pedro Alves
@ 2012-07-31 19:17   ` Andreas Schwab
  2012-07-31 19:19     ` Pedro Alves
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2012-07-31 19:17 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb-patches

Pedro Alves <palves@redhat.com> writes:

> On 07/19/2012 01:04 PM, Andreas Schwab wrote:
>> Tested on ppc{,64}-linux.  OK for trunk and 7.5 branch?
>
> The question that needs answering is whether PPC uses the generic
> siginfo layout, as understood by linux_get_siginfo_type.

It does.

Andreas.

-- 
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."


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc
  2012-07-31 19:17   ` Andreas Schwab
@ 2012-07-31 19:19     ` Pedro Alves
  0 siblings, 0 replies; 4+ messages in thread
From: Pedro Alves @ 2012-07-31 19:19 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb-patches

On 07/31/2012 08:16 PM, Andreas Schwab wrote:
> Pedro Alves <palves@redhat.com> writes:
> 
>> On 07/19/2012 01:04 PM, Andreas Schwab wrote:
>>> Tested on ppc{,64}-linux.  OK for trunk and 7.5 branch?
>>
>> The question that needs answering is whether PPC uses the generic
>> siginfo layout, as understood by linux_get_siginfo_type.
> 
> It does.

Then I say go for it.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-31 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 12:04 [PATCH] Register linux_get_siginfo_type for GDB_OSABI_LINUX on ppc Andreas Schwab
2012-07-31 18:34 ` Pedro Alves
2012-07-31 19:17   ` Andreas Schwab
2012-07-31 19:19     ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox