Floating Point Exception Handling
Jim Wilson
wilson@specifixinc.com
Wed Mar 31 07:27:00 GMT 2004
John L. Kulp wrote:
> I'd like to get connected with whomever is working on topics like the
> interaction between SIGFPE handlers and try/catch stack unwinding in
> C++.
There are few people expert in this area, and they are all very busy
people. There may not be anyone who has time to help you.
Unwinding from signal handlers should work fine for any IA-64 target.
For other targets, it is probably iffy. Our EH support was designed for
C++ which does not need this. It has been expanded to support Java
which does need this, but this requires special options
(-fnon-call-exceptions), and probably still needs more work to handle
all cases.
You might try looking at the optional libunwind package. This was
primarily written to support IA-64 target, but it also has some support
for gcc's DWARF2 CFI based unwinders. Also, you might find other people
interested in the same topic on the libunwind mailing list. See
http://www.hpl.hp.com/research/linux/libunwind/
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list