mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* signal.cc (abort): On second thought, just set incyg once.
This commit is contained in:
parent
bdcec0d979
commit
3153a0ecae
@ -1,7 +1,11 @@
|
||||
2006-04-22 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* abort.cc (abort): Set incyg manually to help get a reliable gdb stack
|
||||
trace.
|
||||
* signal.cc (abort): On second thought, just set incyg once.
|
||||
|
||||
2006-04-22 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* signal.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
|
||||
|
@ -327,6 +327,7 @@ killpg (pid_t pgrp, int sig)
|
||||
extern "C" void
|
||||
abort (void)
|
||||
{
|
||||
_my_tls.incyg++;
|
||||
sig_dispatch_pending ();
|
||||
/* Flush all streams as per SUSv2.
|
||||
From my reading of this document, this isn't strictly correct.
|
||||
@ -344,9 +345,7 @@ abort (void)
|
||||
sigdelset (&sig_mask, SIGABRT);
|
||||
set_signal_mask (sig_mask, myself->getsigmask ());
|
||||
|
||||
_my_tls.incyg++;
|
||||
raise (SIGABRT);
|
||||
_my_tls.incyg--;
|
||||
_my_tls.call_signal_handler (); /* Call any signal handler */
|
||||
do_exit (SIGABRT); /* signal handler didn't exit. Goodbye. */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user