Bug 1422 - Sub-processes do not have parent set
Summary: Sub-processes do not have parent set
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1631
  Show dependency treegraph
 
Reported: 2005-10-05 03:56 UTC by Andrew Cagney
Modified: 2005-10-29 15:39 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.