Via the right-click menu in the mainwindow, observers of the same type may be added multiple times.
*** Bug 3122 has been marked as a duplicate of this bug. ***
2006-08-26 Phil Muldoon <pmuldoon@redhat.com> * SessionProcDataModel.java (addTask): set parent GuiProc. * GuiTask.java (setParent): New. (getParent): New. * ObserversMenu.java (addGuiObject): Remove post observer check. (setCurrentProc): Disable observers in menu the the Proc already has. (setCurrentTask): Disable observers in menu the the Task *and* the Proc already has.
Due to the TaskObserverChanges in http://sourceware.org/bugzilla/show_bug.cgi?id=3190 This fix has regressed and has been reopened
Actual changes to debug process altered the references to the observers, and not the changes in TasksObservers. Thus: 2006-09-13 Phil Muldoon <pmuldoon@redhat.com> * ObserversMenu.java (setCurrentTask): Convert hash lookup key to observer.getName(). (setCurrentProc): Ditto. (removeGuiObject): Ditto. (addGuiObject): Ditto.