* exceptions.cc (handle_exceptions): Vastly increase test for exception loop

guard variable.
This commit is contained in:
Christopher Faylor 2001-05-05 05:07:20 +00:00
parent dbc0c5fb59
commit 11ba5ef4d1
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat May 5 01:04:11 2001 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (handle_exceptions): Vastly increase test for exception
loop guard variable.
Fri May 4 22:23:33 2001 Christopher Faylor <cgf@cygnus.com> Fri May 4 22:23:33 2001 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (stack_info): Add some controls. * exceptions.cc (stack_info): Add some controls.

View File

@ -406,8 +406,11 @@ handle_exceptions (EXCEPTION_RECORD *e, void *, CONTEXT *in, void *)
static int NO_COPY debugging = 0; static int NO_COPY debugging = 0;
static int NO_COPY recursed = 0; static int NO_COPY recursed = 0;
if (debugging && ++debugging < 50) if (debugging && ++debugging < 50000)
return 0; {
SetThreadPriority (hMainThread, THREAD_PRIORITY_NORMAL);
return 0;
}
/* If we've already exited, don't do anything here. Returning 1 /* If we've already exited, don't do anything here. Returning 1
tells Windows to keep looking for an exception handler. */ tells Windows to keep looking for an exception handler. */