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>
This commit is contained in:
parent
3263f90ef7
commit
211cd495c4
|
@ -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>
|
2015-07-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
x86_64 only:
|
x86_64 only:
|
||||||
|
|
|
@ -741,13 +741,11 @@ exception::handle (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT *in,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STATUS_STACK_OVERFLOW:
|
case STATUS_STACK_OVERFLOW:
|
||||||
#if 0
|
|
||||||
/* If we encounter a stack overflow, and if the thread has no alternate
|
/* 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
|
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. */
|
Linux behaviour and also makes a lot of sense on Windows. */
|
||||||
if (me.altstack.ss_flags)
|
if (me.altstack.ss_flags)
|
||||||
global_sigs[SIGSEGV].sa_handler = SIG_DFL;
|
global_sigs[SIGSEGV].sa_handler = SIG_DFL;
|
||||||
#endif
|
|
||||||
/*FALLTHRU*/
|
/*FALLTHRU*/
|
||||||
case STATUS_ARRAY_BOUNDS_EXCEEDED:
|
case STATUS_ARRAY_BOUNDS_EXCEEDED:
|
||||||
case STATUS_IN_PAGE_ERROR:
|
case STATUS_IN_PAGE_ERROR:
|
||||||
|
|
Loading…
Reference in New Issue