This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Structured exception handligh update
- To: cygwin@sourceware.cygnus.com
- Subject: Structured exception handligh update
- From: "K. Haley" <khaley@bigfoot.com>
- Date: Wed, 18 Aug 1999 01:53:06 -0600
Here is an example of windows structured exception handling compiled with
gcc. This will only run under mingw at present since I don't know how to
properly unwind the stack. The attached tar ball contains a header file
that defines __try, __except, and __finally. There is also a required
exception handler and a test file. Hopefully this code will help in the
addition of compiler level support for these functions.
The msvc defined _except_handler3 could not be used because it resets
%ebp=&vcer._ebp instead of to the value it contains. This requires that
the compiler place the registration structure on the stack directly after
pushing %ebp. Other than this it is compatible.
seh.tgz
---
Just another brain dead computer user.
Kenneth Haley <mailto:khaley@bigfoot.com>
My website if your interested http://www.bigfoot.com/~khaley
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com