diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-03 05:01:51 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-03 05:01:51 +0000 |
commit | 49085f6f16adf9f6cf97e19f94878071cebc49fe (patch) | |
tree | 7f98823b82f09927caffe8ec7a256345ff02cb98 /winsup/cygwin/include/exceptions.h | |
parent | 087f4a61d28201ce04d19cce2a1112cc2f8966d4 (diff) | |
download | cygnal-49085f6f16adf9f6cf97e19f94878071cebc49fe.tar.gz cygnal-49085f6f16adf9f6cf97e19f94878071cebc49fe.tar.bz2 cygnal-49085f6f16adf9f6cf97e19f94878071cebc49fe.zip |
* include/exceptions.h (exception_list): Revert previous change. Windows
doesn't care.
(exception_handler): Use real exception_list parameter type rather than void *
* tlsoffsets.h: Regenerate.
* cygtls.h (_cygtls::handle_exceptions): Use real exception_list parameter type
rather than void *.
(handle_threadlist_exception): Ditto.
(init_exception_handler): Ditto.
* cygtls.cc (_cygtls::handle_threadlist_exception ): Ditto.
(_cygtls::init_exception_handler): Add kludge to terminate linked list with a
loop, which seems to solve problem of RtlUnwind causing problems
* exceptions.cc (rtl_unwind): Use real exception_list parameter type rather
than void *.
(_cygtls::handle_exceptions): Ditto.
Diffstat (limited to 'winsup/cygwin/include/exceptions.h')
-rw-r--r-- | winsup/cygwin/include/exceptions.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/include/exceptions.h b/winsup/cygwin/include/exceptions.h index 5311e1f9e..39d3d8f17 100644 --- a/winsup/cygwin/include/exceptions.h +++ b/winsup/cygwin/include/exceptions.h @@ -99,14 +99,13 @@ to install your own exception filter. This one is documented. a teensy bit of detail of the innards of exception handling (i.e. what we have to do). */ -typedef int (exception_handler) - (EXCEPTION_RECORD *, void *, CONTEXT *, void *); +typedef int (exception_handler) (EXCEPTION_RECORD *, struct _exception_list *, + CONTEXT *, void *); typedef struct _exception_list { struct _exception_list *prev; exception_handler *handler; - unsigned long stuff[8]; } exception_list; #ifdef __cplusplus |