]> sourceware.org Git - newlib-cygwin.git/commitdiff
exceptions.cc: Reenable code only disabled for debug purposes
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 13 Jul 2015 14:08:29 +0000 (16:08 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 13 Jul 2015 14:08:29 +0000 (16:08 +0200)
* exceptions.cc (exception::handle): Reenable code only disabled for
debug purposes.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc

index 29b1183e443272d8f523801cbfdfb23a0e6fc11d..b47017999ab2460b4ebe316d6dd3946f82ce4e79 100644 (file)
@@ -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:
index 2ba2f4945667cc5a71865208b666a343674bf558..67df4fec337b47ca420a02b55d4317a65fe6a71c 100644 (file)
@@ -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:
This page took 0.0351 seconds and 5 git commands to generate.