2005-11-09 Andrew Cagney <cagney@redhat.com> * ProcState.java: Refactor .DetachingAllTasks into Detaching that contains .state and .AllTasks. When attaching handle the deletion of an observer. * TaskState.java: Add transitions between attaching and detaching states. * TestTaskAttachedObserver.java: Add .testDeletedAttach, .testBackToBackAttachAttachMainTask, and .testBackToBackAttachDetachMainTask. * ProcState.java: Refactor .AttachingToMainTask, and .AttachingToOtherTasks into .Attaching class containing .state, .allAttached, .ToMainTask and .ToOtherTasks.
2005-11-10 Andrew Cagney <cagney@redhat.com> * TestTaskAttachedObserver.java: Add .testDeletedAttachOtherTask, and .testBackToBackAttachDetachOtherTask. * ProcState.java (Detaching.state(Proc,Collection): Add. When part way through an attach, only detach attached tasks. * TestTaskAttachedObserver.java: Add .attachDetachTask, .detachExitingTask, .attachDeadTask, .attachDieingTask, .attachToAttachedTask, .backToBackAttachAttachTask, .backToBackAttachDetachTask, .deletedAttachTask. Refactor existing tests to use.