CVSROOT:        /cvs/uberbaum
Module name:    winsup
Changes by:     [email protected]     2013-01-02 18:34:07

Modified files:
        cygwin         : ChangeLog cygtls.h exception.h exceptions.cc 
                         sigproc.cc sigproc.h 
        cygwin/include/cygwin: signal.h 
Added files:
        cygwin         : ChangeLog-2012 

Log message:
        * cygtls.h (_cygtls::signal_exit): Delete from class.
        * exception.h (cygwin_exception): New class.
        (cygwin_exception::dumpstack): Declare new function.
        (cygwin_exception::context): Ditto.
        (cygwin_exception::dump_exception): Ditto.
        * exceptions.cc (cygwin_exception::dump_exception): Move into 
cygwin_exception
        class.  Accommodate new variable names.
        (cygwin_exception::dumpstack): Ditto stackdump -> dumpstack.
        (exception::handle): Move andreas processing earlier.  Defer signal 
processing
        decisions to the signal thread where they belong.  Pass exception 
information
        to sig_send via new siginfo_t si_cyg field.
        (ctrl_c_handler): Wait for SIGHUP signal to be processed since it could 
cause a
        process exit and we don't want races with thread exit lock.
        (signal_exit): Move back here from sigproc.cc.  Modify arguments and 
remove
        from sigpacket class.  Decide when to dump core based on signal type.
        (sigpacket::process): Handle exiting signals in context of threads 
rather than
        in the signal thread.  Signal debugger on non-Windows signals.  Remove
        setup_signal_exit call.
        * sigproc.cc (no_signals_available): Remove argument.
        (signal_exit_code): Delete.
        (close_my_readsig): Ditto.
        (_cygtls::signal_exit): Move to exceptions.cc.
        (sigproc_terminate): Don't attempt to terminate signal thread.
        (setup_signal_exit): Delete.
        (exit_thread): Use new si_cyg entry in siginfo_t.
        (sig_send): Just use empty initializer for si.  Accommodate change in
        no_signals_available argument.
        (wait_sig): Remove attempt to "go asynchronous" on process exit.  Delete
        __SIGEXIT handling.  Don't ever exit.
        * sigproc.h: Remove __SIGEXIT from signal enum.  Renumber.
        * include/cygwin/signal.h (siginfo_t): Add si_cyg entry.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog-2012.diff?cvsroot=uberbaum&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.6022&r2=1.6023
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/cygtls.h.diff?cvsroot=uberbaum&r1=1.86&r2=1.87
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/exception.h.diff?cvsroot=uberbaum&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.402&r2=1.403
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.399&r2=1.400
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.h.diff?cvsroot=uberbaum&r1=1.120&r2=1.121
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=uberbaum&r1=1.20&r2=1.21

Reply via email to