diff options
author | Christopher Faylor <me@cgf.cx> | 2001-05-03 15:00:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-05-03 15:00:38 +0000 |
commit | 70c7f359b1fd9aefb9b32fe7486e6909fc81e306 (patch) | |
tree | 3c841eec1394d30dbbd2839c530431714dd113d9 /winsup/cygwin/exceptions.cc | |
parent | a6a0193b2fe6f83c7c0970afd5afecf28fba5595 (diff) | |
download | cygnal-70c7f359b1fd9aefb9b32fe7486e6909fc81e306.tar.gz cygnal-70c7f359b1fd9aefb9b32fe7486e6909fc81e306.tar.bz2 cygnal-70c7f359b1fd9aefb9b32fe7486e6909fc81e306.zip |
* exceptions.cc (handle_exceptions): Break out of "loop" if the debugger
doesn't seem to be attaching to our process.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |