This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix Linux attach to signalled/stopped processes
> 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.