This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: doc/stabs.texinfo off-by-one and spelling fixes
- To: Nick Duffek <nsd at redhat dot com>
- Subject: Re: RFA: doc/stabs.texinfo off-by-one and spelling fixes
- From: Stan Shebs <shebs at apple dot com>
- Date: Wed, 05 Jul 2000 14:57:33 -0700
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <200007052129.RAA05530@nog.bosbc.com>
Nick Duffek wrote:
>
> While reading through gdb/doc/stabs.texinfo, I found a few spelling errors
> and the following possible semantic error:
>
> "The GNU and Sun tools additionally permit a TYPE-NUMBER to be a pair
> (FILE-NUMBER,FILETYPE-NUMBER) (the parentheses appear in the string,
> and serve to distinguish the two cases). The FILE-NUMBER is a number
> starting with 1 which is incremented for each separate source file in
> the compilation (e.g., in C, each header file gets a different
> number)."
>
> >From what I can tell by looking at GCC's output, FILE-NUMBER is 0 for .c
> files, 1 for the first #include file, 2 for the next, and so on.
The original phrasing leaves it a bit ambiguous as to whether "source file"
is supposed to mean both .c and .h or not, so I would suggest expanding it
to say what you just wrote ("0 for .c files...."), since that's much clearer.
> The appended patch changes "1" to "0" in the above quoted paragraph and
> fixes a bunch of spelling errors.
Oh yeah, the spelling fixes are great, thanks!
Stan