Bug 3302

Summary: Register, Memory, and Disassembly windows need to display multi-task data
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633, 2888, 3119, 3200    

Description Mike Cvet 2006-10-04 15:54:38 UTC
Currently the SourceWindow is able to display source from multiple tasks, but 
these windows cannot.
Comment 1 Mike Cvet 2006-11-23 23:55:47 UTC
frysk-gui/frysk/gui:
2006-11-23  Mike Cvet  <mcvet@redhat.com>

	* register/RegisterWindow.java (closed): Added. 
	(buttonEvent): Set closed to true if close button is clicked.
	(resetTask): Added. Sets a new task for the window and updates the
	window information without having to touch columns and such.
	Fixes #3302.
	(getClosed): Added.
	(setClosed): Added.
	
	* memory/MemoryWindow.java (setTask): Moved column initialization code 
here.
	(closed): Added.
	(resetTask): Added. Sets a new task for the window and updates the
	window information without having to touch columns and such.
	Fixes #3302.
	(handleFromSpin): Exit if the model's first TreeIter is null.
	(handleToSpin): Ditto.
	(getClosed): Added.
	(setClosed): Added.
	
	* disassembler/DisassemblyWindow.java (closed): Added. 
	(buttonEvent): Set closed to true if close button is clicked.
	(resetTask): Added. Sets a new task for the window and updates the
	window information without having to touch columns and such.
	Fixes #3302.
	(handleFromSpin): Exit if the model's first TreeIter is null.
	(handleToSpin): Ditto.
	(getClosed): Added.
	(setClosed): Added.

2006-11-23  Mike Cvet  <mcvet@redhat.com>

	* SourceWindow.java (currentStackChanged): If the Task that the incoming 
StackFrame belongs
	to has also changed from the last StackFrame's, then update the 
	Register, Memory, and Disassembly windows with the new Task information
	if they have been initialized and are open. Fixes #3302.
	(toggleRegisterWindow): Set RegisterWindow closed boolean to false.
	(toggleMemoryWindow): Set MemoryWindow closed boolean to false.
	(toggleDisassemblyWindow): Set DisassemblyWindow closed boolean to false.