This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix Linux attach to signalled/stopped processes


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.


Regards,
Jan

Attachment: gdb-attach-signalled-ver5.patch
Description: Text document

Attachment: ignored-detach-stop-ver0.c
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]