John Baldwin <[EMAIL PROTECTED]> writes:
> Well, the biggest thing I found when doing the PHOLD/P_WEXIT stuff that was 
> missing was PIOCWAIT and PIOCCONT (IIRC).  Specifically, we don't currently 
> have any ptrace() equivalent to that.

I'm not sure that's a problem.  I had at one point a version of truss,
rewritten from scratch, that worked with ptrace().  I never committed
it because there were issues with attaching to children of the traced
process; I tried to get rid of the reparenting stuff by having a
debugging hierarchy parallel to the process hierarchy (i.e. each
process has a real parent and a debugging parent, instead of the
current situation where a debugged process is reparented to the
debugging process, which makes it impossible to debug e.g. a shell),
this required major changes to exit1() and kern_wait() which I never
completed.  At some point I accidentally blew away the tree; this was
before we had Perforce, and I had no backup.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to