Bug 3687 - frysk.rt.StackFrame isn't pure java
Summary: frysk.rt.StackFrame isn't pure java
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Adam Jocksch
Depends on:
Blocks: 3684
  Show dependency treegraph
Reported: 2006-12-09 16:56 UTC by Andrew Cagney
Modified: 2007-03-03 19:59 UTC (History)
1 user (show)

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
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
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 #
	(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.