OSDN Git Service

* cygtls.h (_cygtls::init_exception_handler): Eliminate argument.
authorcgf <cgf>
Sat, 27 Feb 2010 06:36:31 +0000 (06:36 +0000)
committercgf <cgf>
Sat, 27 Feb 2010 06:36:31 +0000 (06:36 +0000)
commit837a026a071dd0aded918f577e970ba6a7f1d223
treeed2f6059697445b5ca93becfb5447cf5f1bb1250
parentc163fd491b90ef6a1a1fe7a2a6b42bf8dffb9ee3
* cygtls.h (_cygtls::init_exception_handler): Eliminate argument.
(_cygtls::andreas): Convert to a pointer.
(san): Convert to a real class with methods.  Use a linked list to keep track
of previous handlers on the "stack".
(myfault): Rewrite to use new san class rather than calling directly into
_cygtls.
* cygtls.cc (_cygtls::init_exception_handler): Just assume that we're always
using the standard exception handler.
(_cygtls::init_thread): Reflect loss of argument to init_exception_handler.
* dcrt0.cc (dll_crt0_1): Ditto.
* dfcn.cc (dlopen): Ditto.
(dlclose): Reset the exception handler after FreeLibrary.
* dll_init.cc (dll_list::detach): Make sure that the exception handler is
initialized before calling destructors.
* exceptions.cc (_cygtls::handle_exceptions): Accommodate new andreas pointer.
* thread.cc (verifyable_object_isvalid): Pass objectptr to faulted for explicit
NULL pointer checking.
* tlsoffsets.h: Regenerate.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.cc
winsup/cygwin/cygtls.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/dlfcn.cc
winsup/cygwin/dll_init.cc
winsup/cygwin/exceptions.cc
winsup/cygwin/thread.cc
winsup/cygwin/tlsoffsets.h