From 838a82217b27bed69ff1a1bfb32553a6c621ed87 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 3 Mar 2003 23:16:27 +0000 Subject: [PATCH] 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. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/stabs.texinfo | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 013e8ca756..2ca605b3c7 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 c334d45eb3..33c835b67c 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: