Patch: FYI: PR libgcj/28352 - interpreter stacktrace

Tom Tromey tromey@redhat.com
Thu Jul 13 16:21:00 GMT 2006


>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:

Bryce> This patch fixes one of the problems with stack traces for interpreted
Bryce> frames described in PR libgcj/28352. Since the interpreter advances
Bryce> the PC before executing an instruction, we were actually looking up
Bryce> the line number for the PC following the one which generated the
Bryce> exception.

I noticed the other day that we don't SAVE_PC before calls to
resolve_pool_entry -- but this call can throw.  Likewise in the div
and mod operators.

Tom



More information about the Java-patches mailing list