This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: i386 gdbserver for windows: break problem
> 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.