Bug 4118

Summary: Get DOM pointers out of StackFrame and into Line
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: normal CC: rmoseley
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2935, 3392    

Description Mike Cvet 2007-03-01 15:47:18 UTC
Since a StackFrame can have multiple lines in multiple files, need to represent 
all of them. Thus, a StackFrame pointing to a single DOMSource is insufficient.
Comment 1 Mike Cvet 2007-03-02 15:59:52 UTC
2007-03-02  Mike Cvet  <mcvet@redhat.com>

	* Line.java (proc, source, function): New fields.
	(Line): Takes an additional Proc.
	(getDOMFunction): Added. Creates and returns the DOMFunction
	representing this Line on demand. Fixes #4118.
	(getDOMSource): Added. Creates and returns the DOMSource 
	representing this Line on demand. Fixes #4118.
	* StackFrame.java (setDOMFunction): Removed via #4118.
	(setDOMSource): Ditto.
	(getDOMFunction): Ditto.
	(getDOMSource): Ditto.
	(getLines): Pass in this StackFrame's Proc to the new Line.

2007-03-02  Mike Cvet  <mcvet@redhat.com>

	* DOMFactory.java: General fixups with respect to moving
	StackFrame DOM info to its Line objects.
	* DOMSource.java: Ditto.

2007-03-02  Mike Cvet  <mcvet@redhat.com>

	* SourceWindow.java: Fixups for the move of DOM information from 
	StackFrame to its Line array. Fixes #4118.
	* SourceView.java: Ditto.
	* SourceBuffer.java: Ditto.
	* CurrentStackView.java: Ditto.
	* InlineBuffer.java: Ditto.