From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27939 invoked by alias); 29 Sep 2009 07:29:43 -0000 Received: (qmail 27926 invoked by uid 22791); 29 Sep 2009 07:29:41 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Sep 2009 07:29:36 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n8T7TQNa032812 ; Tue, 29 Sep 2009 09:29:27 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n8T7TQrg094405 ; Tue, 29 Sep 2009 09:29:26 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller ([130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n8T7TPPJ077341 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Tue, 29 Sep 2009 09:29:25 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Eli Zaretskii'" Cc: References: <002001ca3acf$a0d8bb40$e28a31c0$@u-strasbg.fr> <83hbuwurzc.fsf@gnu.org> <000601ca3b9a$3cbbe670$b633b350$@u-strasbg.fr> <83ocoxsl83.fsf@gnu.org> In-Reply-To: <83ocoxsl83.fsf@gnu.org> Subject: RE: [RFA] windows-nat.c: Handle CTRL_BREAK_EVENT in ctrl_c_handler Date: Tue, 29 Sep 2009 07:29:00 -0000 Message-ID: <000001ca40d6$9ac3c260$d04b4720$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00909.txt.bz2 Could we apply both=20 the patch to windows-nat.c and to docs to branch or is it too late? Pierre > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Eli Zaretskii > Envoy=E9=A0: Saturday, September 26, 2009 6:51 PM > =C0=A0: Pierre Muller > Cc=A0: gdb-patches@sourceware.org > Objet=A0: Re: [RFA] windows-nat.c: Handle CTRL_BREAK_EVENT in > ctrl_c_handler >=20 > > 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. >=20 > Done. Here's what I committed: >=20 > 2009-09-26 Pierre Muller >=20 > * gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK. >=20 > Index: gdb.texinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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 >=20 > @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}. >=20 > @table @code > @kindex info w32