summaryrefslogtreecommitdiff
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
commitc048c450b2f74d6d28d78d897f6f3571fc85ca93 (patch)
tree24fbaa367af31543b8bf83e27dcc74f51cfc0f48
parent1f30e2a4ec0dffc0112697b71ee4bf50879315f0 (diff)
downloadgdb-c048c450b2f74d6d28d78d897f6f3571fc85ca93.tar.gz
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.
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/stabs.texinfo11
2 files changed, 12 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 013e8ca7569..2ca605b3c79 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2003-03-02 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in (distclean): Remove config.log.
diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo
index 6681615f0ac..69903dcdb78 100644
--- a/gdb/doc/stabs.texinfo
+++ b/gdb/doc/stabs.texinfo
@@ -39,7 +39,7 @@ Software Foundation raise funds for GNU development.''
@page
@tex
\def\$#1${{#1}} % Kluge: collect RCS revision info without $...$
-\xdef\manvers{\$Revision: 1.9 $} % For use in headers, footers too
+\xdef\manvers{\$Revision: 1.10 $} % For use in headers, footers too
{\parskip=0pt
\hfill Cygnus Support\par
\hfill \manvers\par
@@ -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: