aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-12-27 18:59:39 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-12-27 18:59:39 +0000
commit168e808729eb5c38e26c4740f767a0089493e023 (patch)
tree2a3c3bebe3ffac26f1bb0364a73d08bb61269ce9 /gdb/doc
parent666e7e4121e43094aa8e9b280e0fe5db23b77256 (diff)
downloadgdb-168e808729eb5c38e26c4740f767a0089493e023.zip
gdb-168e808729eb5c38e26c4740f767a0089493e023.tar.gz
gdb-168e808729eb5c38e26c4740f767a0089493e023.tar.bz2
* stabs.texinfo: Document S type attribute.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/stabs.texinfo21
2 files changed, 21 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index e183010..9ab449a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec 27 13:55:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * stabs.texinfo: Document S type attribute.
+
Sun Dec 26 20:46:36 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* stabs.texinfo: Add notes about stabs-in-som where appropriate.
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo
index 6082b3b..ce796c2 100644
--- a/gdb/doc/stabs.texinfo
+++ b/gdb/doc/stabs.texinfo
@@ -250,10 +250,6 @@ those from the C++ type descriptor @samp{@@}. The attributes are:
@var{boundary} is an integer specifying the alignment. I assume it
applies to all variables of this type.
-@item s@var{size}
-Size in bits of a variable of this type. This is fully supported by GDB
-4.11 and later.
-
@item p@var{integer}
Pointer class (for checking). Not sure what this means, or how
@var{integer} is interpreted.
@@ -262,6 +258,16 @@ Pointer class (for checking). Not sure what this means, or how
Indicate this is a packed type, meaning that structure fields or array
elements are placed more closely in memory, to save memory at the
expense of speed.
+
+@item s@var{size}
+Size in bits of a variable of this type. This is fully supported by GDB
+4.11 and later.
+
+@item S
+Indicate that this type is a string instead of an array of characters,
+or a bitstring instead of a set. It doesn't change the layout of the
+data being represented, but does enable the debugger to know which type
+it is.
@end table
All of this can make the string field quite long. All versions of GDB,
@@ -1625,6 +1631,9 @@ Pascal set type. @var{type-information} must be a small type such as an
enumeration or a subrange, and the type is a bitmask whose length is
specified by the number of elements in @var{type-information}.
+In CHILL, if it is a bitstring instead of a set, also use the @samp{S}
+type attribute (@pxref{String Field}).
+
@item * @var{type-information}
Pointer to @var{type-information}.
@end table
@@ -1822,6 +1831,10 @@ string. I don't know the difference.
Pascal Stringptr. What is this? This is an AIX feature.
@end table
+Languages, such as CHILL which have a string type which is basically
+just an array of characters use the @samp{S} type attribute
+(@pxref{String Field}).
+
@node Enumerations
@section Enumerations