From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21430 invoked by alias); 7 Aug 2012 01:10:43 -0000 Received: (qmail 21421 invoked by uid 22791); 7 Aug 2012 01:10:42 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Aug 2012 01:10:29 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1SyYJY-0002WL-05 from Yao_Qi@mentor.com ; Mon, 06 Aug 2012 18:10:28 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 6 Aug 2012 18:10:27 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Mon, 6 Aug 2012 18:10:24 -0700 From: Yao Qi To: , Eli Zaretskii Subject: Re: [obv] add kindex for set remote hardware-{watchpoint,breakpoint}-limit Date: Tue, 07 Aug 2012 01:10:00 -0000 Message-ID: <5467545.tZipNbH8yO@qiyao.dyndns.org> User-Agent: KMail/4.8.3 (Linux/3.3.7-1.fc16.i686; KDE/4.8.3; i686; ; ) In-Reply-To: <83obmo9eoi.fsf@gnu.org> References: <1344005996-9097-1-git-send-email-yao@codesourcery.com> <1981863.INEZdKZT0P@qiyao.dyndns.org> <83obmo9eoi.fsf@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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: 2012-08/txt/msg00202.txt.bz2 On Monday, August 06, 2012 07:18:53 PM Eli Zaretskii wrote: > When you cannot find a subcommand in the index, you should go for its > parent command. >=20 > > I thought we need=20 > > kindex for every command in documentation, and that is why we need > > "index". Otherwise, the criteria of using kindex is not clear, IMO. >=20 > The criteria for kindex is to index every command, but not necessarily > every subcommand. So "set remote" is indexed. >=20 OK, the criteria is fine with me. > Another example of a command with lots of subcommands which are not > indexed is "set print" (although I see that a couple of subcommands > sneaked in). >=20 > Again, having lots of index entries with identical beginning pointing > to the same page is not useful. Think how this looks in the printed > manual, for example. >=20 > OK? The following is to revert my patch. --=20 Yao (=E9=BD=90=E5=B0=A7) gdb/doc: 2012-08-07 Yao Qi Revert the folloing patch: 2012-08-06 Yao Qi * gdb.texinfo (Remote Configuration): Add kindex for 'set remote hardware-watchpoint-limit' and 'set remote hardware-breakpoint-limit'. Index: 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.997 diff -u -r1.997 gdb.texinfo --- doc/gdb.texinfo 6 Aug 2012 17:13:27 -0000 1.997 +++ doc/gdb.texinfo 7 Aug 2012 01:08:58 -0000 @@ -17839,9 +17839,7 @@ @anchor{set remote hardware-watchpoint-limit} @anchor{set remote hardware-breakpoint-limit} @item set remote hardware-watchpoint-limit @var{limit} -@kindex set remote hardware-watchpoint-limit @itemx set remote hardware-breakpoint-limit @var{limit} -@kindex set remote hardware-breakpoint-limit Restrict @value{GDBN} to using @var{limit} remote hardware breakpoint or watchpoints. A limit of -1, the default, is treated as unlimited.