gdb-6.6 mingw port hangs after Ctrl-C
Daniel Jacobowitz
drow@false.org
Mon Aug 20 19:31:00 GMT 2007
On Mon, Aug 20, 2007 at 10:16:12PM +0300, Eli Zaretskii wrote:
> The way to fix this is to make the signal handler stop the main thread
> as the first thing it does. Then you have a Posix-compliant program
> again. I did something similar for the MinGW port of GNU Make.
Is there any way to force the other thread to longjmp? Otherwise,
just stopping it isn't enough - you don't have the right stack.
Erm, maybe it would work anyway... longjmping from one thread to
another scares me a bit, though.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list