* exceptions.cc (exception::handle): Resurrect accidentally lost
patch from 2009-07-22: Set si_addr according to POSIX for SIGSEGV.
This commit is contained in:
parent
01ab5147dd
commit
fa35814af1
@ -1,3 +1,8 @@
|
||||
2013-06-02 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* exceptions.cc (exception::handle): Resurrect accidentally lost
|
||||
patch from 2009-07-22: Set si_addr according to POSIX for SIGSEGV.
|
||||
|
||||
2013-05-31 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/sys/socket.h: Move SHUT_xx definitoins from here...
|
||||
|
@ -753,7 +753,8 @@ exception::handle (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT *in, void
|
||||
}
|
||||
cygwin_exception exc (framep, in, e);
|
||||
si.si_cyg = (void *) &exc;
|
||||
si.si_addr = (void *) in->_GR(ip);
|
||||
si.si_addr = (si.si_signo == SIGSEGV || si.si_signo == SIGBUS)
|
||||
? (void *) e->ExceptionInformation[1] : (void *) in->_GR(ip);
|
||||
me.incyg++;
|
||||
sig_send (NULL, si, &me); /* Signal myself */
|
||||
me.incyg--;
|
||||
|
Loading…
Reference in New Issue
Block a user