From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8195 invoked by alias); 1 Sep 2010 19:17:48 -0000 Received: (qmail 8185 invoked by uid 22791); 1 Sep 2010 19:17:46 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,RCVD_ILLEGAL_IP X-Spam-Check-By: sourceware.org Received: from imr3.ericy.com (HELO imr3.ericy.com) (198.24.6.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Sep 2010 19:17:37 +0000 Received: from eusaamw0711.eamcs.ericsson.se ([147.117.20.178]) by imr3.ericy.com (8.13.8/8.13.8) with ESMTP id o81JHVCf031521 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 1 Sep 2010 14:17:32 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.134]) by eusaamw0711.eamcs.ericsson.se ([147.117.20.178]) with mapi; Wed, 1 Sep 2010 15:17:31 -0400 From: Marc Khouzam To: "'gdb-patches@sourceware.org'" CC: "'pedro@codesourcery.com'" , "'Eli Zaretskii'" , "'msnyder@vmware.com'" Date: Wed, 01 Sep 2010 19:19:00 -0000 Subject: RE: [patch] Adding 'reverse' to -list-target-features Message-ID: References: <837hj5ju2e.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2010-09/txt/msg00054.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org=20 > [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Marc Khouzam > Sent: Wednesday, September 01, 2010 12:44 PM > To: 'Eli Zaretskii' > Cc: 'gdb-patches@sourceware.org'; 'pedro@codesourcery.com';=20 > 'msnyder@vmware.com' > Subject: RE: [patch] Adding 'reverse' to -list-target-features >=20 >=20=20 >=20 > > -----Original Message----- > > From: Eli Zaretskii [mailto:eliz@gnu.org]=20 > > Sent: Wednesday, September 01, 2010 12:41 PM > > To: Marc Khouzam > > Cc: gdb-patches@sourceware.org; pedro@codesourcery.com;=20 > > msnyder@vmware.com > > Subject: Re: [patch] Adding 'reverse' to -list-target-features > >=20 > > > From: Marc Khouzam > > > Date: Wed, 1 Sep 2010 12:13:32 -0400 > > >=20 > > > +@item reverse > > > +Indicates that the target is capable of reverse execution. > >=20 > > This is okay, but please add a cross-reference to where reverse > > execution is described. >=20 >=20 > Updated the docs: >=20 > 2010-09-01 Marc Khouzam >=20 > * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse' > as a feature reported by -list-target-features. >=20 > 2010-09-01 Marc Khouzam > * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new > feature `reverse' output by -list-target-features. >=20 > Index: gdb/doc/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.761 > diff -u -r1.761 gdb.texinfo > --- gdb/doc/gdb.texinfo 31 Aug 2010 14:45:41 -0000 1.761 > +++ gdb/doc/gdb.texinfo 1 Sep 2010 16:42:07 -0000 > @@ -29030,6 +29030,10 @@ > execution, which means that @value{GDBN} will accept further commands > while the target is running. >=20=20 > +@item reverse > +Indicates that the target is capable of reverse execution. > +@xref{Reverse Execution}, for more information. > + > @end table >=20=20 > @subheading The @code{-list-thread-groups} Command > Index: gdb/mi/mi-main.c > =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/mi/mi-main.c,v > retrieving revision 1.180 > diff -u -r1.180 mi-main.c > --- gdb/mi/mi-main.c 13 Aug 2010 13:22:44 -0000 1.180 > +++ gdb/mi/mi-main.c 1 Sep 2010 16:42:07 -0000 > @@ -1700,6 +1700,8 @@ > cleanup =3D make_cleanup_ui_out_list_begin_end (uiout,=20 > "features");=20=20=20=20=20=20 > if (target_can_async_p ()) > ui_out_field_string (uiout, NULL, "async"); > + if (target_can_execute_reverse) > + ui_out_field_string (uiout, NULL, "reverse"); >=20=20=20=20=20=20=20=20 > do_cleanups (cleanup); > return; Committed to HEAD and 7.2 Thanks Marc