* gdb.texinfo (Print Settings): Add documentation for set/show
authorJoel Brobecker <brobecker@gnat.com>
Mon, 3 Oct 2005 22:26:54 +0000 (22:26 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 3 Oct 2005 22:26:54 +0000 (22:26 +0000)
        print array-indexes.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 5e0fe5893510b474a0100b5fb1dbd93c627d6520..fa60a7446e8aa131a885bbdad12291e4752f03ec 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.texinfo (Print Settings): Add documentation for set/show
+       print array-indexes.
+
 2005-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdb.texinfo (Contributors): Thank Andrew Cagney for releases
index 7d592f4f157ca4bc2a3f8fb116d497853a01af67..2055f1a00bb9a17b13e6abd028b309922a6e2802 100644 (file)
@@ -5692,6 +5692,20 @@ Return to compressed format for arrays.
 Show whether compressed or pretty format is selected for displaying
 arrays.
 
+@cindex print array indexes
+@item set print array-indexes
+@itemx set print array-indexes on
+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-indexes
+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
This page took 0.046333 seconds and 4 git commands to generate.