This is the mail archive of the
mailing list for the GCC project.
Re: [patch 3.4/3.5] libffi & libjava port for hppa-linux
Randolph Chung writes:
> > I didn't realize you were trying to use C++, sorry.
> > You aren't adjusting pc properly. See libgcj/include/i386-signal.h
> this doesn't seem to be the case.
Well, it does in libgcj. The handler in libgcj is written in C++, and
called in exactly the same way.
Show me your code.
> i added the pc adjustment and it still
> doesn't work on x86.
> Also, how does that explain why it works if you add
> an intervening frame between try-catch and the sighandler?
Without the PC adjustment, the handler doesn't always recognize the
fact that the PC is in the exception region, and throws out to the