[patch] Fix Linux attach to signalled/stopped processes

Eli Zaretskii eliz@gnu.org
Sat Jun 30 11:57:00 GMT 2007


> Date: Sat, 30 Jun 2007 12:18:54 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Mark Kettenis <mark.kettenis@xs4all.nl>
> 
> On Wed, 27 Jun 2007 08:52:03 +0200, Jan Kratochvil wrote:
> ...
> > OK, going to move it to linux-nat.c.
> 
> Done; various parts changed.
> 
> 
> There is one ugly workaround part (described in the comments in the patch).
> Testcase for this workaround is also attached, it appears as (another) Linux
> kernel ptrace(2) bug to me.  Is it worth workarounding it?  IMO not worth
> fixing as it is a corner case and UTRACE is going to provide alternative API.
> 
> Tested on x86_64, on upstream 2.6.22-rc4-git7 and Red Hat kernel-2.6.9-55.EL.

Will this cause any user-visible changes in behavior?  If so, I think
we should reflect it in NEWS at the very least.

Thanks.



More information about the Gdb-patches mailing list