From: Andrew Cagney Date: Mon, 3 Mar 2003 23:16:27 +0000 (+0000) Subject: 2003-03-03 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=838a82217b27bed69ff1a1bfb32553a6c621ed87;p=binutils-gdb.git 2003-03-03 Andrew Cagney * stabs.texinfo (Structures): Use @samp and separate @var's instead of a single @var containing a comma separated list. (Unions): Ditto. --- 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 + + * 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 * Makefile.in (distclean): Remove config.log. diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index c334d45eb3d..33c835b67c0 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: