Re: Allow debuger to examine real parent

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Mar 06 2000 - 19:16:00 EST


Alan Cox wrote:
> > This patch enables debugger to examine original parent of traced
> > process. That information is not available elsewhere.
>
> So how does ps get it then...

When a process is being traced, ps can't get it. pstree will show the
process as if it is the child of the debugger/tracer. When the
debugger/tracer is killed, it becomes the child of its original parent
again.

Somewhat icky IMO. Why does it have to be reparented at all?

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:21 EST