CVSROOT:        /cvs/src
Module name:    src
Changes by:     [email protected]  2014-08-22 09:21:33

Modified files:
        winsup/cygwin  : ChangeLog cygheap.cc cygtls.cc cygtls.h 
                         dcrt0.cc dir.cc environ.cc exception.h 
                         exceptions.cc fcntl.cc fhandler_socket.cc 
                         fhandler_tape.cc flock.cc gendef miscfuncs.cc 
                         mount.cc msg.cc net.cc ntdll.h ntea.cc path.cc 
                         poll.cc posix_ipc.cc resource.cc select.cc 
                         sem.cc shm.cc signal.cc spawn.cc syscalls.cc 
                         thread.cc timer.cc times.cc tls_pbuf.cc 
                         tls_pbuf.h tlsoffsets.h tlsoffsets64.h uinfo.cc 
                         uname.cc 
        winsup/cygwin/libc: bsdlib.cc rexec.cc 

Log message:
        * Throughout, use __try/__except/__endtry blocks, rather than myfault
        handler.
        * cygtls.cc (_cygtls::remove): Accommodate the fact that pathbufs
        has been moved from _local_storage to _cygtls.
        * cygtls.h (class tls_pathbuf): Add comment to hint to gendef usage
        of counters.  Change type of counters to uint32_t for clarity.
        Remove _cygtls as friend class.
        (struct _local_storage): Move pathbufs from here...
        (struct _cygtls): ...to here, allowing to access it from _sigbe.
        (class san): Only define on 32 bit.  Remove errno, _c_cnt and _w_cnt
        members.
        (san::setup): Drop parameter.  Don't initialize removed members.
        (san::leave): Don't set removed members.
        (class myfault): Only define on 32 bit.
        (myfault::faulted): Only keep implementation not taking any parameter.
        Drop argument in call to sebastian.setup.
        (__try/__leave/__except/__endtry): Implement to support real SEH.  For
        now stick to SJLJ on 32 bit.
        * dcrt0.cc (dll_crt0_0): Drop 64 bit call to
        exception::install_myfault_handler.
        * exception.h (exception_handler): Define with EXCEPTION_DISPOSITION
        as return type.
        (PDISPATCHER_CONTEXT): Define as void * on 32 bit.  Define as pointer
        to _DISPATCHER_CONTEXT on 64 bit.
        (class exception): Define separately for 32 and 64 bit.
        (exception::myfault): Add handler for myfault SEH handling on 64 bit.
        (exception::exception): Fix mangled method name to account for change
        in type of last parameter.
        (exception::install_myfault_handler): Remove.
        * exceptions.cc (exception::myfault_handle): Remove.
        (exception::myfault): New SEH handler for 64 bit.
        * gendef (_sigbe): Set tls_pathbuf counters to 0 explicitely when
        returning to the caller.
        * ntdll.h: Move a comment to a better place.
        (struct _SCOPE_TABLE): Define on 64 bit.
        * thread.cc (verifyable_object_isvalid): Remove gcc 4.7 workaround.
        * tls_pbuf.cc (tls_pbuf): Fix to accommodate new place of pathbufs.
        (tls_pathbuf::destroy): Change type of loop variables to uint32_t.
        * tls_pbuf.h (class tmp_pathbuf): Change type of buffer counters to
        uint32_t.  Accommodate new place of pathbufs.
        * tlsoffsets.h: Regenerate.
        * tlsoffsets64.h: Regenerate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6503&r2=1.6504
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.cc.diff?cvsroot=src&r1=1.92&r2=1.93
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.h.diff?cvsroot=src&r1=1.96&r2=1.97
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.458&r2=1.459
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dir.cc.diff?cvsroot=src&r1=1.139&r2=1.140
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=src&r1=1.212&r2=1.213
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exception.h.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&r1=1.444&r2=1.445
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fcntl.cc.diff?cvsroot=src&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.309&r2=1.310
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=src&r1=1.95&r2=1.96
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/flock.cc.diff?cvsroot=src&r1=1.60&r2=1.61
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gendef.diff?cvsroot=src&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/miscfuncs.cc.diff?cvsroot=src&r1=1.105&r2=1.106
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mount.cc.diff?cvsroot=src&r1=1.105&r2=1.106
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/msg.cc.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&r1=1.317&r2=1.318
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&r1=1.149&r2=1.150
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntea.cc.diff?cvsroot=src&r1=1.30&r2=1.31
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.691&r2=1.692
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/poll.cc.diff?cvsroot=src&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/posix_ipc.cc.diff?cvsroot=src&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/resource.cc.diff?cvsroot=src&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&r1=1.221&r2=1.222
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sem.cc.diff?cvsroot=src&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shm.cc.diff?cvsroot=src&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=src&r1=1.122&r2=1.123
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.355&r2=1.356
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.664&r2=1.665
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.292&r2=1.293
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/timer.cc.diff?cvsroot=src&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&r1=1.123&r2=1.124
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tls_pbuf.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tls_pbuf.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tlsoffsets.h.diff?cvsroot=src&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tlsoffsets64.h.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.228&r2=1.229
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uname.cc.diff?cvsroot=src&r1=1.32&r2=1.33
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/bsdlib.cc.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/rexec.cc.diff?cvsroot=src&r1=1.8&r2=1.9

Reply via email to