Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-07-20 20:19:51 +0400
committerChristopher Faylor <me@cgf.cx>2013-07-20 20:19:51 +0400
commit5ce53ae0eaca40f7039b5b3b20d689215fdf4706 (patch)
tree3eaf7d1ee0701efa7edaddec0c042bef184c80f4
parent198d56529a85f3957e798ee228635ffd8b19ac4b (diff)
* exceptions.cc (signal_exit): Nope. Nevermind. Dump core unconditionally.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc3
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index aa970d2f0..c7bfe8d37 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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.
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 86b2034cd..a9fb87992 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -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