This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: ptrace improvement ideas
> > * PTRACE_ATTACH_NOSTOP
>
> How about PTRACE_DETACH_NOSTOP? Like PTRACE_DETACH, but doesn't
> require the stopped tracee.
Yes, that is a good idea too.
> I was really amazed when I looked into strace sources. The code
> which handles detach is soooooo complicated (and I do not blame
> strace). But, again, I do not know if this makes sense for GDB.
It is dismal, I know--I wrote it. But that was very long ago, before a
whole lot of kernel fixes in that area.
Thanks,
Roland