diff options
author | Joel Brobecker <brobecker@gnat.com> | 2005-10-03 22:26:54 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2005-10-03 22:26:54 +0000 |
commit | 3c9c013acb67bd10d22668c5fe1561c8b3bd8bfe (patch) | |
tree | 324518c7c17ded3d18c418e88367234bb7fbfb95 | |
parent | d638e0acb3930103ce173e42b7f3d971e660fe39 (diff) | |
download | gdb-3c9c013acb67bd10d22668c5fe1561c8b3bd8bfe.zip gdb-3c9c013acb67bd10d22668c5fe1561c8b3bd8bfe.tar.gz gdb-3c9c013acb67bd10d22668c5fe1561c8b3bd8bfe.tar.bz2 |
* gdb.texinfo (Print Settings): Add documentation for set/show
print array-indexes.
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 5e0fe58..fa60a74 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -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 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 7d592f4..2055f1a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 |