check that adding an observer to a non-main task (or a multi-tasked process) results in an attach; removing the observer results in a detach.
2005-11-07 Andrew Cagney <cagney@redhat.com> * TestTaskAttachedObserver.java: Add .attachDetach and .testAttachDetachOtherTask. * Proc.java: Rename .observableAttachedContinue, and .observableDetachedContinue to .observableAttached, and .observableDetached. * ProcState.java: Update. * TestProcStates.java: Update.