cancel: Re: [patch 5/9]#2 Move siginfo_fixup linux-nat -> inf-ptrace
Jan Kratochvil
jan.kratochvil@redhat.com
Tue Aug 31 18:16:00 GMT 2010
Hi,
cancelling now this patch as being just a pre-requisite for:
cancel: Re: [rfc 7/9]#2 Associate siginfo_t with any signal
http://sourceware.org/ml/gdb-patches/2010-08/msg00545.html
On Mon, 30 Aug 2010 13:44:17 +0200, Mark Kettenis wrote:
> but my gut feeling is that the siginfo
> processing is (at least for now) a Linux-specific feature and
> therefore belongs in linux-nat.c.
I see now that the siginfo corruption is more a bug in linux-nat.c only than
a general GDB bug.
> * The memcpy that's being done requires the size of "struct siginfo"
> to be known. I'm not sure all platforms that use ptrace(2) actually
> have a "struct siginfo" (OpenBSD, HP-UX 10.20 and Linux have it).
> I'm not sure <signal.h> is enough to actually make the definition
> available (have some doubts here for HP-UX 10.20).
There was that HAVE_SIGINFO_T for it but it is offtopic now.
Thanks,
Jan
More information about the Gdb-patches
mailing list