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 27 Sep 2005 04:04:41 -0000 @@ -5692,6 +5692,21 @@ 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 +@kindex set 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-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