Bug 1794 - create an attached, and stopped, child process
Summary: create an attached, and stopped, child process
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: 1553 2046
  Show dependency treegraph
 
Reported: 2005-11-03 17:51 IST by Andrew Cagney
Modified: 2005-11-03 18:38 IST (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-11-03 17:51:23 IST
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 IST
means re-implementing the TestRun test so that it uses TaskObserver.Attached.
Comment 2 Andrew Cagney 2005-11-03 18:02:04 IST
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 IST
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.