From 49085f6f16adf9f6cf97e19f94878071cebc49fe Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 3 Dec 2005 05:01:51 +0000 Subject: * 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. --- winsup/cygwin/include/exceptions.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/include') 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 -- cgit v1.2.3