i386 gdbserver for windows: break problem

Eli Zaretskii eliz@gnu.org
Thu Feb 22 12:27:00 GMT 2007


> From: Michael Snyder <Michael.Snyder@palmsource.com>
> Cc: Khaled Jmal <khaledjmal@yahoo.fr>, gdb@sourceware.org
> Date: Wed, 21 Feb 2007 12:02:31 -0800
> 
> Control-c has always been problematic for gdb on windows.
> Windows doesn't treat control-c at all like other os's do.

Actually, Ctrl-C handling on Windows is very similar to Posix.  The
only major problem that I'm aware of is that the Ctrl-C handler runs
in a separate thread, so a single-threaded program suddenly becomes
multi-threaded, and in particular one can have race condition between
the main thread and the signal thread.



More information about the Gdb mailing list