This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA/patch stabs reader: Recognize language hint in SO stab
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Jason Molenda <jmolenda at apple dot com>
- Cc: gdb-patches at sources dot redhat dot com, jimb at redhat dot com, kettenis at jive dot nl, dpatel at apple dot com
- Date: Fri, 06 Aug 2004 11:51:32 +0300
- Subject: Re: RFA/patch stabs reader: Recognize language hint in SO stab
- References: <4F2AF76A-E71B-11D8-B4BD-000A9569836A@apple.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.