aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2005-10-04 00:16:07 +0000
committerJoel Brobecker <brobecker@gnat.com>2005-10-04 00:16:07 +0000
commit31e353780d34419a2d129501147a006c461b168e (patch)
treeb0c9f1daebc1276a82b03e500f4d83881278fe48 /gdb
parent7981f521d76146be72bbe14ddaaa9dcae5f605ab (diff)
downloadgdb-31e353780d34419a2d129501147a006c461b168e.zip
gdb-31e353780d34419a2d129501147a006c461b168e.tar.gz
gdb-31e353780d34419a2d129501147a006c461b168e.tar.bz2
* NEWS: Add entry for new "set print array-indexes" command.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/NEWS6
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f00e860..dfe8b43 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2005-10-03 Joel Brobecker <brobecker@adacore.com>
+ * NEWS: Add entry for new "set print array-indexes" command.
+
+2005-10-03 Joel Brobecker <brobecker@adacore.com>
+
* 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 7328c35..eb5af88 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