summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-07-13 16:08:29 +0200
committerCorinna Vinschen <corinna@vinschen.de>2015-07-13 16:08:29 +0200
commit211cd495c47870590e87b5775edd9a02e09d6a9b (patch)
tree45019b0fa03434c9a528452158898fe18d7c096c
parent3263f90ef72a2edab765f3d91b91fc69427307be (diff)
downloadcygnal-211cd495c47870590e87b5775edd9a02e09d6a9b.tar.gz
cygnal-211cd495c47870590e87b5775edd9a02e09d6a9b.tar.bz2
cygnal-211cd495c47870590e87b5775edd9a02e09d6a9b.zip
exceptions.cc: Reenable code only disabled for debug purposes
* exceptions.cc (exception::handle): Reenable code only disabled for debug purposes. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc2
2 files changed, 5 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 29b1183e4..b47017999 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-13 Corinna Vinschen <corinna@vinschen.de>
+
+ * exceptions.cc (exception::handle): Reenable code only disabled for
+ debug purposes.
+
2015-07-07 Corinna Vinschen <corinna@vinschen.de>
x86_64 only:
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 2ba2f4945..67df4fec3 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -741,13 +741,11 @@ exception::handle (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT *in,
break;
case STATUS_STACK_OVERFLOW:
-#if 0
/* If we encounter a stack overflow, and if the thread has no alternate
stack, don't even try to call a signal handler. This is in line with
Linux behaviour and also makes a lot of sense on Windows. */
if (me.altstack.ss_flags)
global_sigs[SIGSEGV].sa_handler = SIG_DFL;
-#endif
/*FALLTHRU*/
case STATUS_ARRAY_BOUNDS_EXCEEDED:
case STATUS_IN_PAGE_ERROR: