aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/stabs.texinfo
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-03 23:16:27 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-03 23:16:27 +0000
commit838a82217b27bed69ff1a1bfb32553a6c621ed87 (patch)
treee0b79b2f6bb5a6050bee30c83d1c0724aef6fb17 /gdb/doc/stabs.texinfo
parentae6572b921c18253c87a365b309dfb6ab386c99d (diff)
downloadgdb-838a82217b27bed69ff1a1bfb32553a6c621ed87.zip
gdb-838a82217b27bed69ff1a1bfb32553a6c621ed87.tar.gz
gdb-838a82217b27bed69ff1a1bfb32553a6c621ed87.tar.bz2
2003-03-03 Andrew Cagney <cagney@redhat.com>
* stabs.texinfo (Structures): Use @samp and separate @var's instead of a single @var containing a comma separated list. (Unions): Ditto.
Diffstat (limited to 'gdb/doc/stabs.texinfo')
-rw-r--r--gdb/doc/stabs.texinfo9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo
index c334d45..33c835b 100644
--- a/gdb/doc/stabs.texinfo
+++ b/gdb/doc/stabs.texinfo
@@ -2047,8 +2047,9 @@ definition narrows the symbol type to structure.
Following the @samp{s} type descriptor is the number of bytes the
structure occupies, followed by a description of each structure element.
-The structure element descriptions are of the form @var{name:type, bit
-offset from the start of the struct, number of bits in the element}.
+The structure element descriptions are of the form
+@samp{@var{name}:@var{type}, @var{bit offset from the start of the
+struct}, @var{number of bits in the element}}.
@c FIXME: phony line break. Can probably be fixed by using an example
@c with fewer fields.
@@ -2146,8 +2147,8 @@ the stab describes an enumeration, structure, or union tag. The type
descriptor @samp{u}, following the @samp{23=} of the type definition,
narrows it down to a union type definition. Following the @samp{u} is
the number of bytes in the union. After that is a list of union element
-descriptions. Their format is @var{name:type, bit offset into the
-union, number of bytes for the element;}.
+descriptions. Their format is @samp{@var{name}:@var{type}, @var{bit
+offset into the union}, @var{number of bytes for the element};}.
The stab for the union variable is: