* exceptions.cc (signal_exit): Add a FIXME comment.

This commit is contained in:
Christopher Faylor 2013-07-19 23:13:58 +00:00
parent 3a4dab46c3
commit fb6cf945f9
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
* exceptions.cc (signal_exit): Add a FIXME comment.
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
* exceptions.cc (signal_exit): Only dump core when it's a "kernel"

View File

@ -1219,6 +1219,8 @@ signal_exit (int sig, siginfo_t *si)
sig |= 0x80; /* Flag that we've "dumped core" */
if (try_to_debug ())
break;
/* FIXME: We're still dumping core even if !(sig & 0x80). Need to
investigate if the else clause can just be nuked. */
if (si->si_code != SI_USER && si->si_cyg)
((cygwin_exception *) si->si_cyg)->dumpstack ();
else

View File

@ -31,3 +31,7 @@ Bug fixes:
- Fix a timer handle leak in sleep family of functions.
Fixes: http://cygwin.com/ml/cygwin/2013-07/msg00379.html
- Fix issue with raise() not causing the process to exit with a signal
status. Also only set "dumped core" flag when it's a "kernel" signal.
See: http://cygwin.com/ml/cygwin-apps/2013-07/msg00251.html