This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

On Wed, Oct 22, 2008 at 09:44:47AM -0700, Joel Brobecker wrote:
>> 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.

I'm very sorry that it has taken me so long to respond to this.  Vacation and work
have intervened.

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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]