Bug 3687

Summary: frysk.rt.StackFrame isn't pure java
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Adam Jocksch <ajocksch>
Status: RESOLVED FIXED    
Severity: normal CC: mcvet
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 3684    

Description Andrew Cagney 2006-12-09 16:56:54 UTC
The frysk.rt.Stack frame object should use the lib.unwind bindings, and not have
internal CNI code.
Comment 1 Mike Cvet 2006-12-11 18:33:48 UTC
Apparently isn't acting properly as a wrapper for frame information - all 
fields should be members of the class' FrameCursor object, and all StackFrame 
getters should return FrameCursor members.
Comment 2 Adam Jocksch 2006-12-14 20:24:45 UTC
Checked in a patch to remove all C++ code from frysk/rt. I will test whether
--cni can be removed from frysk-core/bootstrap.sh and if so I will remove that
as well.
Comment 3 Adam Jocksch 2006-12-14 21:08:46 UTC
--cni has been removed from frysk-core/bootstrap.sh
Comment 4 Andrew Cagney 2006-12-15 17:26:22 UTC
ChangeLog?
Can be closed?
Comment 5 Adam Jocksch 2007-03-03 19:59:47 UTC
2006-12-14  Adam Jocksch  <ajocksch@redhat.com>

	* StackFrame.java (myCursor): Added, replaces address, methodName, cfa,
	and isSignalFrame fields as well as get/set_reg functionality (bz #
	3687).
	(StackFrame): No longer uses native initialization, funcitonality moved
	into FrameCursor.java.
	(initialize): Removed.
	(getMethodName): Now calls FrameCursor.
	(getAddress): Ditto.
	(toPrint): Ditto.
	(setIsSignalFrame): Ditto.
	(getIsSignalFrame): Ditto.
	(getReg): Ditto.
	(setReg): Ditto.
	(getCFA): Ditto.
	(get_reg): Removed.
	(set_reg): Removed.
	* cni/StackFrame.cxx: Removed.