Patch: FYI: PR libgcj/28352 - interpreter stacktrace
Bryce McKinlay
mckinlay@redhat.com
Wed Jul 12 13:55:00 GMT 2006
This patch fixes one of the problems with stack traces for interpreted
frames described in PR libgcj/28352. Since the interpreter advances the
PC before executing an instruction, we were actually looking up the line
number for the PC following the one which generated the exception. This
bug didn't seem to occur often for "gcj -C" bytecode, but it happens
often with ecj-produced bytecode, since ecj records a new line number
for the "return" instruction in a method.
I'm checking this in to trunk.
Bryce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-stacktrace-interpreter-line.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060712/99f3ad46/attachment.bin>
More information about the Java-patches
mailing list