Files
oldlinux-files/Ref-docs/manual gdb/stabs/stabs_9.html
2024-02-19 00:21:47 -05:00

201 lines
7.2 KiB
HTML

<HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on March, 13 2002 by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
-->
<HEAD>
<TITLE>STABS: Symbol Descriptors</TITLE>
<META NAME="description" CONTENT="STABS: Symbol Descriptors">
<META NAME="keywords" CONTENT="STABS: Symbol Descriptors">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">
</HEAD>
<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<A NAME="SEC70"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_8.html#SEC69"> &lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_10.html#SEC71"> &gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_10.html#SEC71"> &lt;&lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs.html#SEC_Top"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_10.html#SEC71"> &gt;&gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_14.html#SEC90">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<H1> B. Table of Symbol Descriptors </H1>
<!--docid::SEC70::-->
<P>
The symbol descriptor is the character which follows the colon in many
stabs, and which tells what kind of stab it is. See section <A HREF="stabs_1.html#SEC4">1.3 The String Field</A>,
for more information about their use.
</P><P>
<DL COMPACT>
<DT><CODE><VAR>digit</VAR></CODE>
<DD><DT><CODE>(</CODE>
<DD><DT><CODE>-</CODE>
<DD>Variable on the stack; see <A HREF="stabs_4.html#SEC18">4.1 Automatic Variables Allocated on the Stack</A>.
<P>
<DT><CODE>:</CODE>
<DD>C++ nested symbol; see See section <A HREF="stabs_7.html#SEC54">7.2 Defining a Symbol Within Another Type</A>.
<P>
<DT><CODE>a</CODE>
<DD>Parameter passed by reference in register; see <A HREF="stabs_4.html#SEC27">4.7.3 Passing Parameters by Reference</A>.
<P>
<DT><CODE>b</CODE>
<DD>Based variable; see <A HREF="stabs_4.html#SEC23">4.6 Fortran Based Variables</A>.
<P>
<DT><CODE>c</CODE>
<DD>Constant; see <A HREF="stabs_3.html#SEC16">3. Constants</A>.
<P>
<DT><CODE>C</CODE>
<DD>Conformant array bound (Pascal, maybe other languages); <A HREF="stabs_4.html#SEC28">4.7.4 Passing Conformant Array Parameters</A>. Name of a caught exception (GNU C++). These can be
distinguished because the latter uses <CODE>N_CATCH</CODE> and the former uses
another symbol type.
<P>
<DT><CODE>d</CODE>
<DD>Floating point register variable; see <A HREF="stabs_4.html#SEC20">4.3 Register Variables</A>.
<P>
<DT><CODE>D</CODE>
<DD>Parameter in floating point register; see <A HREF="stabs_4.html#SEC25">4.7.1 Passing Parameters in Registers</A>.
<P>
<DT><CODE>f</CODE>
<DD>File scope function; see <A HREF="stabs_2.html#SEC12">2.5 Procedures</A>.
<P>
<DT><CODE>F</CODE>
<DD>Global function; see <A HREF="stabs_2.html#SEC12">2.5 Procedures</A>.
<P>
<DT><CODE>G</CODE>
<DD>Global variable; see <A HREF="stabs_4.html#SEC19">4.2 Global Variables</A>.
<P>
<DT><CODE>i</CODE>
<DD>See section <A HREF="stabs_4.html#SEC25">4.7.1 Passing Parameters in Registers</A>.
<P>
<DT><CODE>I</CODE>
<DD>Internal (nested) procedure; see <A HREF="stabs_2.html#SEC13">2.6 Nested Procedures</A>.
<P>
<DT><CODE>J</CODE>
<DD>Internal (nested) function; see <A HREF="stabs_2.html#SEC13">2.6 Nested Procedures</A>.
<P>
<DT><CODE>L</CODE>
<DD>Label name (documented by AIX, no further information known).
<P>
<DT><CODE>m</CODE>
<DD>Module; see <A HREF="stabs_2.html#SEC12">2.5 Procedures</A>.
<P>
<DT><CODE>p</CODE>
<DD>Argument list parameter; see <A HREF="stabs_4.html#SEC24">4.7 Parameters</A>.
<P>
<DT><CODE>pP</CODE>
<DD>See section <A HREF="stabs_4.html#SEC24">4.7 Parameters</A>.
<P>
<DT><CODE>pF</CODE>
<DD>Fortran Function parameter; see <A HREF="stabs_4.html#SEC24">4.7 Parameters</A>.
<P>
<DT><CODE>P</CODE>
<DD>Unfortunately, three separate meanings have been independently invented
for this symbol descriptor. At least the GNU and Sun uses can be
distinguished by the symbol type. Global Procedure (AIX) (symbol type
used unknown); see <A HREF="stabs_2.html#SEC12">2.5 Procedures</A>. Register parameter (GNU) (symbol
type <CODE>N_PSYM</CODE>); see <A HREF="stabs_4.html#SEC24">4.7 Parameters</A>. Prototype of function
referenced by this file (Sun <CODE>acc</CODE>) (symbol type <CODE>N_FUN</CODE>).
<P>
<DT><CODE>Q</CODE>
<DD>Static Procedure; see <A HREF="stabs_2.html#SEC12">2.5 Procedures</A>.
<P>
<DT><CODE>R</CODE>
<DD>Register parameter; see <A HREF="stabs_4.html#SEC25">4.7.1 Passing Parameters in Registers</A>.
<P>
<DT><CODE>r</CODE>
<DD>Register variable; see <A HREF="stabs_4.html#SEC20">4.3 Register Variables</A>.
<P>
<DT><CODE>S</CODE>
<DD>File scope variable; see <A HREF="stabs_4.html#SEC22">4.5 Static Variables</A>.
<P>
<DT><CODE>s</CODE>
<DD>Local variable (OS9000).
<P>
<DT><CODE>t</CODE>
<DD>Type name; see <A HREF="stabs_5.html#SEC43">5.9 Giving a Type a Name</A>.
<P>
<DT><CODE>T</CODE>
<DD>Enumeration, structure, or union tag; see <A HREF="stabs_5.html#SEC43">5.9 Giving a Type a Name</A>.
<P>
<DT><CODE>v</CODE>
<DD>Parameter passed by reference; see <A HREF="stabs_4.html#SEC27">4.7.3 Passing Parameters by Reference</A>.
<P>
<DT><CODE>V</CODE>
<DD>Procedure scope static variable; see <A HREF="stabs_4.html#SEC22">4.5 Static Variables</A>.
<P>
<DT><CODE>x</CODE>
<DD>Conformant array; see <A HREF="stabs_4.html#SEC28">4.7.4 Passing Conformant Array Parameters</A>.
<P>
<DT><CODE>X</CODE>
<DD>Function return variable; see <A HREF="stabs_4.html#SEC24">4.7 Parameters</A>.
</DL>
<P>
<A NAME="Type Descriptors"></A>
<HR SIZE="6">
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_10.html#SEC71"> &lt;&lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_10.html#SEC71"> &gt;&gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_14.html#SEC90">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="stabs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<BR>
<FONT SIZE="-1">
This document was generated
by <I>GDB Administrator</I> on <I>March, 13 2002</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>