From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9353 invoked by alias); 3 Mar 2003 19:18:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9330 invoked from network); 3 Mar 2003 19:18:31 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 3 Mar 2003 19:18:31 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 551C52A9C for ; Mon, 3 Mar 2003 14:18:28 -0500 (EST) Message-ID: <3E63AA84.6030403@redhat.com> Date: Mon, 03 Mar 2003 19:18:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [rfa:doco] Fix that stabs warning ... Content-Type: multipart/mixed; boundary="------------080700050801000100090007" X-SW-Source: 2003-03/txt/msg00062.txt.bz2 This is a multi-part message in MIME format. --------------080700050801000100090007 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 702 Hello, The attatched patch fixes the makeinfo warning printed when generating the stabs documentation: makeinfo -o stabs.info /home/scratch/PENDING/2003-03-03-doco-stabs-vars/src/gdb/doc/stabs.texinfo /home/scratch/PENDING/2003-03-03-doco-stabs-vars/src/gdb/doc/stabs.texinfo:2051: warning: unlikely character , in @var. /home/scratch/PENDING/2003-03-03-doco-stabs-vars/src/gdb/doc/stabs.texinfo:2051: warning: unlikely character , in @var. /home/scratch/PENDING/2003-03-03-doco-stabs-vars/src/gdb/doc/stabs.texinfo:2150: warning: unlikely character , in @var. /home/scratch/PENDING/2003-03-03-doco-stabs-vars/src/gdb/doc/stabs.texinfo:2150: warning: unlikely character , in @var. Ok? Andrew --------------080700050801000100090007 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1553 2003-03-03 Andrew Cagney * stabs.texinfo (Structures): Use @samp and separate @var's instead of a single @var containing a list. (Unions): Ditto. Index: stabs.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/stabs.texinfo,v retrieving revision 1.9 diff -u -r1.9 stabs.texinfo --- stabs.texinfo 30 Jan 2003 15:44:43 -0000 1.9 +++ stabs.texinfo 3 Mar 2003 19:15:32 -0000 @@ -2047,8 +2047,9 @@ 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 @@ 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: --------------080700050801000100090007--