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