aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-02-22 01:11:13 +0000
committerPer Bothner <per@bothner.com>1993-02-22 01:11:13 +0000
commit424bac5c8f2a8ecbbbef6e954fdc05c1347276df (patch)
tree3f8e8d10e7c30ff20c328b01017277b6d5f5bc83
parent4d3b63f7579e269d69cc0eeabd189303e20eb880 (diff)
downloadgdb-424bac5c8f2a8ecbbbef6e954fdc05c1347276df.zip
gdb-424bac5c8f2a8ecbbbef6e954fdc05c1347276df.tar.gz
gdb-424bac5c8f2a8ecbbbef6e954fdc05c1347276df.tar.bz2
* stabs.texinfo: Fix for array types to mention lower bounds.
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/stabs.texinfo5
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6939740..92b63ac 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 7078641..c5b230d 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.