This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: PR libgcj/28352 - interpreter stacktrace


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]