Re: [RFA/win32] Improve C-c handling when process in different console

Nicolas Roche
2008-11-12T17:08:22Z

On Wed, 12 Nov 2008 11:38:50 -0500
Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
wrote:

> On Wed, Oct 22, 2008 at 09:44:47AM -0700, Joel Brobecker wrote:
> >> 2008-10-02 Nicolas Roche <roche@adacore.com>
> >>
> >> * 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.
> >
> >Ping?
> >
> >http://www.sourceware.org/ml/gdb-patches/2008-10/msg00070.html
>
> I'm very sorry that it has taken me so long to respond to this. Vacation and work
> have intervened.

No worries :-)

> I have an even older patch sitting in my inbox from Pierre Muller which, I think,
> attempts to address the same problem but seems to involve more code.
>
> One of the reasons that I have not responded sooner is that I have a patch in
> my sandbox which would surely conflict with this since it changes the mechanism
> used to determine the existence of newer functions like DebugBreak.
>
> So, anyway, I'll finish up my patch and adopt this change to it this weekend,
> checking in both.

Thanks a lot. It means implicitly that the patch is ok for you right ?

> Sorry for the delay. Please ping me again if you don't see this going in in
> the next week or so.

Won't hesitate

Nicolas