Bug 1794

Summary: create an attached, and stopped, child process
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: 1553, 2046    

Description Andrew Cagney 2005-11-03 17:51:23 UTC
requires that there be an attached observer that blocks the task at the creation
point
Comment 1 Andrew Cagney 2005-11-03 17:52:22 UTC
means re-implementing the TestRun test so that it uses TaskObserver.Attached.
Comment 2 Andrew Cagney 2005-11-03 18:02:04 UTC
Index: frysk-core/frysk/bindir/ChangeLog
2005-11-03  Andrew Cagney  <cagney@redhat.com>

        * ftrace.java: Update, Host.requestCreateAttachedProc renamed to
        .requestCreateAttachedContinuedProc.

Index: frysk-core/frysk/proc/ChangeLog
2005-11-03  Andrew Cagney  <cagney@redhat.com>

        * Host.java (requestCreateAttachedProc): Rename
        requestCreateAttachedContinuedProc.
        * TestExec.java, TestI386Modify.java, TestI386Regs.java,
        TestLib.java, TestModify.java, TestProcGet.java, TestRun.java,
        TestStep.java, TestSyscall.java, TestSyscall2.java,
        TestSyscallOpen.java, TestTaskClonedObserver.java,
        TestTaskForkedObserver.java, TestTaskObserver.java,
        TestTaskTerminateObserver.java: Update.
Comment 3 Andrew Cagney 2005-11-03 18:38:12 UTC
Rewote TestRun.testCreateAttachedStoppedProc so that it uses
TaskObserver.Attached to stop things.

Index: frysk-core/frysk/proc/ChangeLog
2005-11-03  Andrew Cagney  <cagney@redhat.com>

        * Host.java (requestCreateAttachedStoppedProc): Delete.
        * TaskState.java: When notifyAttached has blockers and a trap,
        transition a startRunning task to blockedContinue.
        * TestRun.java: Re-implement testCreateAttachedStoppedProc to use
        TaskObserver.Attached.