This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: PR libgcj/28352 - interpreter stacktrace
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>
- Date: 13 Jul 2006 10:17:41 -0600
- Subject: Re: Patch: FYI: PR libgcj/28352 - interpreter stacktrace
- References: <44B4FF5C.7060704@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "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