Bug 1422

Summary: Sub-processes do not have parent set
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1631    

Description Andrew Cagney 2005-10-05 03:56:22 UTC
When a sub-process is created, using Host.create* say, its parent field is not
set.  It should be.
Comment 1 Andrew Cagney 2005-10-05 21:46:09 UTC
2005-10-05  Andrew Cagney  <cagney@redhat.com>

        * LinuxHost.java: In sendCreateAttachedProc, set the sub-processes
        parent.

        * TestLib.java: Add method isChildOfMine.  Use.
        * TestTerminated.java, TestSyscallOpen.java, TestSyscall.java,
        TestSyscall2.java, TestI386Regs.java, TestI386Modify.java,
        TestStep.java, TestExiting.java: Use.

        * Host.java, Task.java, Proc.java: Include the super's name in
        toString.

        * Proc.java, LinuxProc.java: Rationalize constructor methods.
        * LinuxHost.java: Update.

        * TestLib.java: For StopEventLoopOnProcDestroy, check that the
        proc is a child of frysk using getSelf.
        * TestExiting.java, TestTerminated.java: Ditto for
        ProcCreatedObserver.