This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: 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


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