From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18598 invoked by alias); 26 Sep 2005 23:08:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18565 invoked by uid 22791); 26 Sep 2005 23:08:08 -0000 Received: from s142-179-108-108.bc.hsia.telus.net (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 23:08:08 +0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 4CFBF47E74; Mon, 26 Sep 2005 16:08:06 -0700 (PDT) Date: Mon, 26 Sep 2005 23:08:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA/doco] Document set/show print array-indexes Message-ID: <20050926230806.GT922@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2005-09/txt/msg00240.txt.bz2 --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 543 This is the documentation for a new set/show command and their effect. This is currently being reviewed under: http://sources.redhat.com/ml/gdb-patches/2005-09/msg00195.html The interface has been agreed on, so we can proceed with the doc update while the implementation details are being worked-out. 2005-09-26 Joel Brobecker * gdb.texinfo (Print Settings): Add documentation for set/show print array-indexes. Tested by building the HTML documentation and checking the result. -- Joel --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdbdoc.diff" Content-length: 1070 Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.279 diff -u -p -r1.279 gdb.texinfo --- gdb.texinfo 18 Sep 2005 03:28:18 -0000 1.279 +++ gdb.texinfo 26 Sep 2005 23:07:46 -0000 @@ -5692,6 +5692,20 @@ Return to compressed format for arrays. Show whether compressed or pretty format is selected for displaying arrays. +@item set print array-indexes +@itemx set print array-indexes on +@cindex print array indexes +Print the index of each element when displaying arrays. May be more +convenient to locate a given element in the array or quickly find the +index of a given element in that printed array. The default is off. + +@item set print array-indexes off +Stop printing element indexes when displaying arrays. + +@item show print array +Show whether the index of each element is printed when displaying +arrays. + @item set print elements @var{number-of-elements} @cindex number of array elements to print @cindex limit on number of printed array elements --nVMJ2NtxeReIH9PS--