From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1895 invoked by alias); 26 Sep 2009 16:49:30 -0000 Received: (qmail 1884 invoked by uid 22791); 26 Sep 2009 16:49:29 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Sep 2009 16:49:24 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KQL006007ZU8I00@i_mtaout2.012.net.il> for gdb-patches@sourceware.org; Sat, 26 Sep 2009 19:49:21 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.56.156]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KQL00ASN828Q8M0@i_mtaout2.012.net.il>; Sat, 26 Sep 2009 19:49:21 +0300 (IDT) Date: Sat, 26 Sep 2009 16:49:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] windows-nat.c: Handle CTRL_BREAK_EVENT in ctrl_c_handler In-reply-to: <000601ca3b9a$3cbbe670$b633b350$@u-strasbg.fr> To: Pierre Muller Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ocoxsl83.fsf@gnu.org> References: <002001ca3acf$a0d8bb40$e28a31c0$@u-strasbg.fr> <83hbuwurzc.fsf@gnu.org> <000601ca3b9a$3cbbe670$b633b350$@u-strasbg.fr> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00837.txt.bz2 > Date: Tue, 22 Sep 2009 20:56:43 +0300 > From: Eli Zaretskii > Cc: gdb-patches@sourceware.org > > Your text is mostly okay, but it needs to use a different markup for > the Ctrl-C etc. > > I will fix it and install it in a couple of days. Done. Here's what I committed: 2009-09-26 Pierre Muller * gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK. Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.628 diff -u -r1.628 gdb.texinfo --- gdb.texinfo 21 Sep 2009 12:48:36 -0000 1.628 +++ gdb.texinfo 26 Sep 2009 16:45:54 -0000 @@ -15900,10 +15900,20 @@ @cindex Cygwin-specific commands @value{GDBN} supports native debugging of MS Windows programs, including -DLLs with and without symbolic debugging information. There are various -additional Cygwin-specific commands, described in this section. -Working with DLLs that have no debugging symbols is described in -@ref{Non-debug DLL Symbols}. +DLLs with and without symbolic debugging information. + +@cindex Ctrl-BREAK, MS-Windows +@cindex interrupt debuggee on MS-Windows +MS-Windows programs that call @code{SetConsoleMode} to switch off the +special meaning of the @samp{Ctrl-C} keystroke cannot be interrupted +by typing @kbd{C-c}. For this reason, @value{GDBN} on MS-Windows +supports @kbd{C-@key{BREAK}} as an alternative interrupt key +sequence, which can be used to interrupt the debuggee even if it +ignores @kbd{C-c}. + +There are various additional Cygwin-specific commands, described in +this section. Working with DLLs that have no debugging symbols is +described in @ref{Non-debug DLL Symbols}. @table @code @kindex info w32