diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-10 05:33:56 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-10 05:33:56 +0400 |
commit | c1dedea603d4e9b281d8308070da53308f617f12 (patch) | |
tree | 386ed897f6beca520a2f737853889654be6f1ee3 /winsup/cygwin/sigproc.cc | |
parent | 83b25b0eb7c1ac69c4e431325df5f74d0a430caa (diff) |
* exceptions.cc (ctrl_c_handler): YA in a series or reversions. Put back
_my_tls.remove along with a comment.
(sigpacket::process): Remove code which now causes a gdb deadlock.
* sigproc.cc (_cygtls::signal_exit): Signal debugger with signal number
earlier.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index d9d4bcfed..a8c45f707 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -396,6 +396,7 @@ _cygtls::signal_exit (int rc) close my_readsig. */ WriteFile (myss, &sp, sizeof (sp), &len, NULL); } + signal_debugger (rc & 0x7f); if (rc == SIGQUIT || rc == SIGABRT) { @@ -413,7 +414,6 @@ _cygtls::signal_exit (int rc) TerminateProcess (ch_spawn, sigExeced = rc); } - signal_debugger (rc & 0x7f); if ((rc & 0x80) && !try_to_debug ()) stackdump (thread_context.ebp, 1, 1); |