* 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.
This commit is contained in:
Christopher Faylor
2011-12-10 01:33:56 +00:00
parent 83b25b0eb7
commit c1dedea603
3 changed files with 16 additions and 10 deletions

View File

@ -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);