This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: stabs and macro information
- From: Jim Blandy <jimb at redhat dot com>
- To: David Taylor <dtaylor at emc dot com>
- Cc: gcc at gcc dot gnu dot org, gdb at sources dot redhat dot com
- Date: 23 Apr 2003 22:23:36 -0500
- Subject: Re: stabs and macro information
- References: <200304161558.h3GFwJV09359@mailhub.lss.emc.com>
David Taylor <dtaylor at emc dot 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.