* abort.cc (abort): Set incyg manually to help get a reliable gdb stack trace.
* cygwin.din (abort): Make NOSIGFE.
This commit is contained in:
parent
3a83d3a849
commit
bdcec0d979
|
@ -1,3 +1,9 @@
|
||||||
|
2006-04-22 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* abort.cc (abort): Set incyg manually to help get a reliable gdb stack
|
||||||
|
trace.
|
||||||
|
* cygwin.din (abort): Make NOSIGFE.
|
||||||
|
|
||||||
2006-04-21 Pierre Humblet Pierre.Humblet@ieee.org
|
2006-04-21 Pierre Humblet Pierre.Humblet@ieee.org
|
||||||
Christopher Faylor <cgf@timesys.com>
|
Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ vscanf_r = _vscanf_r SIGFE
|
||||||
_vsscanf_r SIGFE
|
_vsscanf_r SIGFE
|
||||||
vsscanf_r = _vsscanf_r SIGFE
|
vsscanf_r = _vsscanf_r SIGFE
|
||||||
a64l NOSIGFE
|
a64l NOSIGFE
|
||||||
abort SIGFE
|
abort NOSIGFE
|
||||||
_abort = abort SIGFE
|
_abort = abort SIGFE
|
||||||
abs NOSIGFE
|
abs NOSIGFE
|
||||||
_abs = abs NOSIGFE
|
_abs = abs NOSIGFE
|
||||||
|
|
|
@ -25,6 +25,7 @@ details. */
|
||||||
#include "fhandler.h"
|
#include "fhandler.h"
|
||||||
#include "dtable.h"
|
#include "dtable.h"
|
||||||
#include "cygheap.h"
|
#include "cygheap.h"
|
||||||
|
#include "cygtls.h"
|
||||||
|
|
||||||
int sigcatchers; /* FIXME: Not thread safe. */
|
int sigcatchers; /* FIXME: Not thread safe. */
|
||||||
|
|
||||||
|
@ -343,7 +344,9 @@ abort (void)
|
||||||
sigdelset (&sig_mask, SIGABRT);
|
sigdelset (&sig_mask, SIGABRT);
|
||||||
set_signal_mask (sig_mask, myself->getsigmask ());
|
set_signal_mask (sig_mask, myself->getsigmask ());
|
||||||
|
|
||||||
|
_my_tls.incyg++;
|
||||||
raise (SIGABRT);
|
raise (SIGABRT);
|
||||||
|
_my_tls.incyg--;
|
||||||
_my_tls.call_signal_handler (); /* Call any signal handler */
|
_my_tls.call_signal_handler (); /* Call any signal handler */
|
||||||
do_exit (SIGABRT); /* signal handler didn't exit. Goodbye. */
|
do_exit (SIGABRT); /* signal handler didn't exit. Goodbye. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue