RFA: doc/stabs.texinfo off-by-one and spelling fixes
Stan Shebs
shebs@apple.com
Wed Jul 5 14:57:00 GMT 2000
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
More information about the Gdb-patches
mailing list