This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/5730] stack trace does not show location information
- From: "swagiaal at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 6 Feb 2008 18:29:09 -0000
- Subject: [Bug general/5730] stack trace does not show location information
- References: <20080205201316.5730.tromey@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From swagiaal at redhat dot com 2008-02-06 18:29 -------
looks like this was broken by this commit:
bbf660ad5f803e000274503ad878040f4d604fef
I am still running git bisect to prove it
patch snippit:
@@ -92,13 +91,7 @@ class LibunwindFrame extends Frame
* Returns the current program counter of this Frame.
*/
public long getAddress() {
- ProcInfo myInfo = cursor.getProcInfo();
- ProcName myName = cursor.getProcName(0);
-
- if (myInfo.getError() != 0 || myName.getError() != 0)
- return 0;
-
- return myInfo.getStartIP() + myName.getOffset();
+ return cursor.getIP();
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mwielaard at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5730
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.