stabs and macro information

Jim Blandy jimb@redhat.com
Thu Apr 24 06:21:00 GMT 2003


David Taylor <dtaylor@emc.com> writes:
> One question I have is what stabs types to use -- tentatively I'm using:
> 
>     /* GNU extension.  Macro define.  */
>     __define_stab(N_MAC_DEFINE, 0x36, "MAC_DEFINE")
> 
>     /* GNU extension.  Macro undefine.  */
>     __define_stab(N_MAC_UNDEF, 0x3a, "MAC_UNDEF")
> 
> as it appears (based on gcc/stab.def, include/aout/stab.def, and
> gdb/doc/stabs.texinfo) that 0x36 and 0x3a are available.
> 
> Is anyone aware of any other uses of stab types 0x36 and 0x3a --
> i.e. is anyone aware of uses that might conflict?

At least according to Version 4.0 of Sun's _Stabs Interface Manual_,
dated February 1999, those numbers are not in use.

The _Stabs Interface Manual_ is not available on the web.  I wrote to
Sun asking why it wasn't; they told me that it was included with the
Sun toolchain, and was deliberately not available on the web.



More information about the Gcc mailing list