Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-03 19:00:38 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-03 19:00:38 +0400
commit70c7f359b1fd9aefb9b32fe7486e6909fc81e306 (patch)
tree3c841eec1394d30dbbd2839c530431714dd113d9 /winsup/cygwin/sigproc.cc
parenta6a0193b2fe6f83c7c0970afd5afecf28fba5595 (diff)
* 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/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index c7b0a491f..a44e31611 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -1144,7 +1144,7 @@ wait_sig (VOID *)
if (sig > 0 && sig != SIGKILL && sig != SIGSTOP &&
(sigismember (&myself->getsigmask (), sig) ||
- (sig != SIGCONT && ISSTATE (myself, PID_STOPPED))))
+ (sig != SIGCONT && ISSTATE (myself, PID_STOPPED))))
{
sigproc_printf ("signal %d blocked", sig);
break;
@@ -1172,7 +1172,7 @@ wait_sig (VOID *)
/* Need to decrement again to offset increment below since
we really do want to decrement in this case. */
InterlockedDecrement (myself->getsigtodo (sig));
- goto nextsig;
+ goto nextsig; /* FIXME: shouldn't this allow the loop to continue? */
}
}