From 11ff165f7604a65c6cb1ef7d4ad1af74c81571cf Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 4 Oct 2005 00:16:07 +0000 Subject: [PATCH] * NEWS: Add entry for new "set print array-indexes" command. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f00e8603a2..dfe8b43f1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2005-10-03 Joel Brobecker + * NEWS: Add entry for new "set print array-indexes" command. + +2005-10-03 Joel Brobecker + * language.h (language_defn): New field la_print_array_index. (LA_PRINT_ARRAY_INDEX): New macro. (default_print_array_index): Add declaration. diff --git a/gdb/NEWS b/gdb/NEWS index 7328c35097..eb5af88361 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -50,6 +50,12 @@ Matsushita MN10300 w/simulator mn10300-*-* National Semiconductor NS32000 ns32k-*-* NEC V850 v850-*-* +* New "set print array-indexes" command + +After turning this setting "on", GDB prints the index of each element +when displaying arrays. The default is "off" to preserve the previous +behavior. + *** Changes in GDB 6.3: * New command line option -- 2.11.0