Bug 3302 - Register, Memory, and Disassembly windows need to display multi-task data
Summary: Register, Memory, and Disassembly windows need to display multi-task data
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1633 2888 3119 3200
  Show dependency treegraph
 
Reported: 2006-10-04 15:54 UTC by Mike Cvet
Modified: 2006-11-23 23:55 UTC (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 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.