* exceptions.cc (signal_exit): Nope. Nevermind. Dump core unconditionally.

This commit is contained in:
Christopher Faylor 2013-07-20 16:19:51 +00:00
parent 198d56529a
commit 5ce53ae0ea
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-07-20 Christopher Faylor <me.cygwin2013@cgf.cx>
* exceptions.cc (signal_exit): Nope. Nevermind. Dump core
unconditionally.
2013-07-19 Christopher Faylor <me.cygwin2013@cgf.cx>
* exceptions.cc (signal_exit): Add a FIXME comment.

View File

@ -1215,8 +1215,7 @@ signal_exit (int sig, siginfo_t *si)
case SIGTRAP:
case SIGXCPU:
case SIGXFSZ:
if (si->si_code == SI_KERNEL)
sig |= 0x80; /* Flag that we've "dumped core" */
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