diff options
author | Christopher Faylor <me@cgf.cx> | 2013-07-20 16:19:51 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-07-20 16:19:51 +0000 |
commit | 5ce53ae0eaca40f7039b5b3b20d689215fdf4706 (patch) | |
tree | 3eaf7d1ee0701efa7edaddec0c042bef184c80f4 /winsup/cygwin/exceptions.cc | |
parent | 198d56529a85f3957e798ee228635ffd8b19ac4b (diff) | |
download | newlib-5ce53ae0eaca40f7039b5b3b20d689215fdf4706.zip newlib-5ce53ae0eaca40f7039b5b3b20d689215fdf4706.tar.gz newlib-5ce53ae0eaca40f7039b5b3b20d689215fdf4706.tar.bz2 |
* exceptions.cc (signal_exit): Nope. Nevermind. Dump core unconditionally.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 86b2034..a9fb879 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 |