* exceptions.cc (handle_exceptions): Vastly increase test for exception loop
guard variable.
This commit is contained in:
parent
dbc0c5fb59
commit
11ba5ef4d1
|
@ -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.
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
Loading…
Reference in New Issue