lkml.org 
[lkml]   [2000]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Allow debuger to examine real parent
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.110 / U:0.468 seconds]
©2003-2014 Jasper Spaans. Advertise on this site