From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA/doco] Document set/show print array-indexes
Date: Mon, 26 Sep 2005 23:08:00 -0000 [thread overview]
Message-ID: <20050926230806.GT922@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
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 <brobecker@adacore.com>
* gdb.texinfo (Print Settings): Add documentation for set/show
print array-indexes.
Tested by building the HTML documentation and checking the result.
--
Joel
[-- Attachment #2: gdbdoc.diff --]
[-- Type: text/plain, Size: 1070 bytes --]
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
next reply other threads:[~2005-09-26 23:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-26 23:08 Joel Brobecker [this message]
2005-09-27 3:42 ` Eli Zaretskii
2005-09-27 4:10 ` Joel Brobecker
2005-09-27 18:57 ` Eli Zaretskii
2005-10-03 22:33 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050926230806.GT922@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox