From 70c7f359b1fd9aefb9b32fe7486e6909fc81e306 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 3 May 2001 15:00:38 +0000 Subject: * exceptions.cc (handle_exceptions): Break out of "loop" if the debugger doesn't seem to be attaching to our process. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 681ca3971..96a2d5953 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -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 -- cgit v1.2.3