RFA/patch stabs reader: Recognize language hint in SO stab
Eli Zaretskii
eliz@gnu.org
Fri Aug 6 08:54:00 GMT 2004
> From: Jason Molenda <jmolenda@apple.com>
> Date: Thu, 5 Aug 2004 13:09:08 -0700
>
> Eli, I added a table documenting these values to stabs.texinfo. Do you
> think this is a correct use of a texinfo table?
It is correct usage, if what you want in the result is this:
`0x1 N_SO_AS'
Assembly language
`0x2 N_SO_C'
K&R traditional C
`0x3 N_SO_ANSI_C'
ANSI C
In other words, "@table @code" typesets the entire argument of each
@item in the @code face (in Info, that is emulated by enclosing it in
single quotes), and indents the text after the @item line by 4 spaces.
Therefore, if the indentation and the general formatting of @table is
okay with you, I think the following will look better:
+@table @asis
+@item @code{N_SO_AS} (0x1)
+Assembly language
+@item @code{N_SO_C} (0x2)
+K&R traditional C
etc., you get the point. This typesets only the N_SO_* symbols as
@code, and also emphasizes the symbolic names rather than the numeric
values, which I think is what we want.
Thanks.
More information about the Gdb-patches
mailing list