Hi Chris, > 2008-10-02 Nicolas Roche > > * win32-nat.c (check_for_DebugBreakProcess): New function. > (ctrl_c_handler): New function. > (win32_wait): Register ctrl_c_handler as Ctrl-C handler if the inferior > is run in a separate console. > (_initialize_win32_nat): Check for DebugBreakProcess in kernel32.dll. Here is a new version of the patch. I had to change a couple of things: 1. Remove the WINBASEAPI when declaring kernel32_DebugBreakProcess; My understanding is that this attribute doesn't make sense at all for a static variable. 2. Cast the result of GetProcAddress to "void *" in order to avoid a compiler warning. This is consistent with what we do in the other GetProcAddress calls. This patch has been working very well for us over the past year. Do you think you could take a look to see if we can have something in before we roll 7.0 out? Thanks, -- Joel