Page 1 of 1

Exception handling in GCC

Posted: Sun Dec 23, 2012 5:15 pm
by rdos
Seems like SEH (Structured Exception Handling) is somewhat covered in gcc/libgcc, but it doesn't seem like it is fully implemented. It doesn't seem like it is implemented in newlib either. I somewhat know how this is done in PE (Windows style), but would it work to implement windows-like exception handling with 64-bit ELF-format? How is this related to signals and alike? Is there some examples of how this could be done to support POSIX and signals?

Re: Exception handling in GCC

Posted: Sun Dec 23, 2012 5:24 pm
by Owen
Signals and exception handling are completely orthogonal.

Exception handling is specified by the Itanium C++ ABI