From: Per Bothner Date: Mon, 22 Feb 1993 01:11:13 +0000 (+0000) Subject: * stabs.texinfo: Fix for array types to mention lower bounds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=424bac5c8f2a8ecbbbef6e954fdc05c1347276df;p=binutils-gdb.git * stabs.texinfo: Fix for array types to mention lower bounds. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 6939740f2fc..92b63ac9e4e 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Sun Feb 21 17:09:38 1993 Per Bothner (bothner@rtl.cygnus.com) + + * stabs.texinfo: Fix for array types to mention lower bounds. + Thu Feb 18 01:19:49 1993 John Gilmore (gnu@cygnus.com) * gdbint.texinfo: Update PTRACE_ARG3_TYPE doc, pull PT_*. diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index 7078641daa5..c5b230d3683 100644 --- a/gdb/doc/stabs.texinfo +++ b/gdb/doc/stabs.texinfo @@ -1080,8 +1080,9 @@ type number. After the equals sign is a type descriptor, ar, which says that the type being defined is an array. Following the type descriptor for an -array is the type of the index, a null field, the upper bound of the -array indexing, and the type of the array elements. +array is the type of the index, the lower bound for array indexing +(always 0 in C), the upper bound for array indexing (in C: one less +than the length of the array), and the type of the array elements. The array definition above generates the assembly language that follows.