truss status
Dag-Erling Smørgrav
des at des.no
Tue Jul 25 06:22:54 UTC 2006
John Baldwin <jhb at freebsd.org> 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 - des at des.no
More information about the cvs-src
mailing list