* exceptions.cc (handle_exceptions): Break out of "loop" if the debugger

doesn't seem to be attaching to our process.
This commit is contained in:
Christopher Faylor
2001-05-03 15:00:38 +00:00
parent a6a0193b2f
commit 70c7f359b1
4 changed files with 9 additions and 3 deletions

View File

@ -397,7 +397,7 @@ handle_exceptions (EXCEPTION_RECORD *e, void *, CONTEXT *in, void *)
static int NO_COPY debugging = 0;
static int NO_COPY recursed = 0;
if (debugging)
if (debugging && ++debugging < 50)
return 0;
/* If we've already exited, don't do anything here. Returning 1