Files
2024-02-19 00:25:23 -05:00

271 lines
9.0 KiB
HTML

<HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on March, 28 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: Table of Contents</TITLE>
<META NAME="description" CONTENT="STABS: Table of Contents">
<META NAME="keywords" CONTENT="STABS: Table of Contents">
<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="SEC_Contents"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><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>Table of Contents</H1>
<UL>
<A NAME="TOC1" HREF="stabs_1.html#SEC1">1. Overview of Stabs</A>
<BR>
<UL>
<A NAME="TOC2" HREF="stabs_1.html#SEC2">1.1 Overview of Debugging Information Flow</A>
<BR>
<A NAME="TOC3" HREF="stabs_1.html#SEC3">1.2 Overview of Stab Format</A>
<BR>
<A NAME="TOC4" HREF="stabs_1.html#SEC4">1.3 The String Field</A>
<BR>
<A NAME="TOC5" HREF="stabs_1.html#SEC5">1.4 A Simple Example in C Source</A>
<BR>
<A NAME="TOC6" HREF="stabs_1.html#SEC6">1.5 The Simple Example at the Assembly Level</A>
<BR>
</UL>
<A NAME="TOC7" HREF="stabs_2.html#SEC7">2. Encoding the Structure of the Program</A>
<BR>
<UL>
<A NAME="TOC8" HREF="stabs_2.html#SEC8">2.1 Main Program</A>
<BR>
<A NAME="TOC9" HREF="stabs_2.html#SEC9">2.2 Paths and Names of the Source Files</A>
<BR>
<A NAME="TOC10" HREF="stabs_2.html#SEC10">2.3 Names of Include Files</A>
<BR>
<A NAME="TOC11" HREF="stabs_2.html#SEC11">2.4 Line Numbers</A>
<BR>
<A NAME="TOC12" HREF="stabs_2.html#SEC12">2.5 Procedures</A>
<BR>
<A NAME="TOC13" HREF="stabs_2.html#SEC13">2.6 Nested Procedures</A>
<BR>
<A NAME="TOC14" HREF="stabs_2.html#SEC14">2.7 Block Structure</A>
<BR>
<A NAME="TOC15" HREF="stabs_2.html#SEC15">2.8 Alternate Entry Points</A>
<BR>
</UL>
<A NAME="TOC16" HREF="stabs_3.html#SEC16">3. Constants</A>
<BR>
<A NAME="TOC17" HREF="stabs_4.html#SEC17">4. Variables</A>
<BR>
<UL>
<A NAME="TOC18" HREF="stabs_4.html#SEC18">4.1 Automatic Variables Allocated on the Stack</A>
<BR>
<A NAME="TOC19" HREF="stabs_4.html#SEC19">4.2 Global Variables</A>
<BR>
<A NAME="TOC20" HREF="stabs_4.html#SEC20">4.3 Register Variables</A>
<BR>
<A NAME="TOC21" HREF="stabs_4.html#SEC21">4.4 Common Blocks</A>
<BR>
<A NAME="TOC22" HREF="stabs_4.html#SEC22">4.5 Static Variables</A>
<BR>
<A NAME="TOC23" HREF="stabs_4.html#SEC23">4.6 Fortran Based Variables</A>
<BR>
<A NAME="TOC24" HREF="stabs_4.html#SEC24">4.7 Parameters</A>
<BR>
<UL>
<A NAME="TOC25" HREF="stabs_4.html#SEC25">4.7.1 Passing Parameters in Registers</A>
<BR>
<A NAME="TOC26" HREF="stabs_4.html#SEC26">4.7.2 Storing Parameters as Local Variables</A>
<BR>
<A NAME="TOC27" HREF="stabs_4.html#SEC27">4.7.3 Passing Parameters by Reference</A>
<BR>
<A NAME="TOC28" HREF="stabs_4.html#SEC28">4.7.4 Passing Conformant Array Parameters</A>
<BR>
</UL>
</UL>
<A NAME="TOC29" HREF="stabs_5.html#SEC29">5. Defining Types</A>
<BR>
<UL>
<A NAME="TOC30" HREF="stabs_5.html#SEC30">5.1 Builtin Types</A>
<BR>
<UL>
<A NAME="TOC31" HREF="stabs_5.html#SEC31">5.1.1 Traditional Builtin Types</A>
<BR>
<UL>
<A NAME="TOC32" HREF="stabs_5.html#SEC32">5.1.1.1 Traditional Integer Types</A>
<BR>
<A NAME="TOC33" HREF="stabs_5.html#SEC33">5.1.1.2 Traditional Other Types</A>
<BR>
</UL>
<A NAME="TOC34" HREF="stabs_5.html#SEC34">5.1.2 Defining Builtin Types Using Builtin Type Descriptors</A>
<BR>
<A NAME="TOC35" HREF="stabs_5.html#SEC35">5.1.3 Negative Type Numbers</A>
<BR>
</UL>
<A NAME="TOC36" HREF="stabs_5.html#SEC36">5.2 Miscellaneous Types</A>
<BR>
<A NAME="TOC37" HREF="stabs_5.html#SEC37">5.3 Cross-References to Other Types</A>
<BR>
<A NAME="TOC38" HREF="stabs_5.html#SEC38">5.4 Subrange Types</A>
<BR>
<A NAME="TOC39" HREF="stabs_5.html#SEC39">5.5 Array Types</A>
<BR>
<A NAME="TOC40" HREF="stabs_5.html#SEC40">5.6 Strings</A>
<BR>
<A NAME="TOC41" HREF="stabs_5.html#SEC41">5.7 Enumerations</A>
<BR>
<A NAME="TOC42" HREF="stabs_5.html#SEC42">5.8 Structures</A>
<BR>
<A NAME="TOC43" HREF="stabs_5.html#SEC43">5.9 Giving a Type a Name</A>
<BR>
<A NAME="TOC44" HREF="stabs_5.html#SEC44">5.10 Unions</A>
<BR>
<A NAME="TOC45" HREF="stabs_5.html#SEC45">5.11 Function Types</A>
<BR>
</UL>
<A NAME="TOC46" HREF="stabs_6.html#SEC46">6. Symbol Information in Symbol Tables</A>
<BR>
<UL>
<A NAME="TOC47" HREF="stabs_6.html#SEC47">6.1 Symbol Table Format</A>
<BR>
<A NAME="TOC48" HREF="stabs_6.html#SEC48">6.2 Transformations on Symbol Tables</A>
<BR>
<UL>
<A NAME="TOC49" HREF="stabs_6.html#SEC49">6.2.1 Transformations on Static Variables</A>
<BR>
<A NAME="TOC50" HREF="stabs_6.html#SEC50">6.2.2 Transformations on Global Variables</A>
<BR>
<A NAME="TOC51" HREF="stabs_6.html#SEC51">6.2.3 Transformations of Stabs in separate sections</A>
<BR>
</UL>
</UL>
<A NAME="TOC52" HREF="stabs_7.html#SEC52">7. GNU C++ Stabs</A>
<BR>
<UL>
<A NAME="TOC53" HREF="stabs_7.html#SEC53">7.1 C++ Class Names</A>
<BR>
<A NAME="TOC54" HREF="stabs_7.html#SEC54">7.2 Defining a Symbol Within Another Type</A>
<BR>
<A NAME="TOC55" HREF="stabs_7.html#SEC55">7.3 Basic Types For C++</A>
<BR>
<A NAME="TOC56" HREF="stabs_7.html#SEC56">7.4 Simple Class Definition</A>
<BR>
<A NAME="TOC57" HREF="stabs_7.html#SEC57">7.5 Class Instance</A>
<BR>
<A NAME="TOC58" HREF="stabs_7.html#SEC58">7.6 Method Definition</A>
<BR>
<A NAME="TOC59" HREF="stabs_7.html#SEC59">7.7 The <SAMP>`#'</SAMP> Type Descriptor</A>
<BR>
<A NAME="TOC60" HREF="stabs_7.html#SEC60">7.8 The <SAMP>`@'</SAMP> Type Descriptor</A>
<BR>
<A NAME="TOC61" HREF="stabs_7.html#SEC61">7.9 Protections</A>
<BR>
<A NAME="TOC62" HREF="stabs_7.html#SEC62">7.10 Method Modifiers (<CODE>const</CODE>, <CODE>volatile</CODE>, <CODE>const volatile</CODE>)</A>
<BR>
<A NAME="TOC63" HREF="stabs_7.html#SEC63">7.11 Virtual Methods</A>
<BR>
<A NAME="TOC64" HREF="stabs_7.html#SEC64">7.12 Inheritance</A>
<BR>
<A NAME="TOC65" HREF="stabs_7.html#SEC65">7.13 Virtual Base Classes</A>
<BR>
<A NAME="TOC66" HREF="stabs_7.html#SEC66">7.14 Static Members</A>
<BR>
</UL>
<A NAME="TOC67" HREF="stabs_8.html#SEC67">A. Table of Stab Types</A>
<BR>
<UL>
<A NAME="TOC68" HREF="stabs_8.html#SEC68">A.1 Non-Stab Symbol Types</A>
<BR>
<A NAME="TOC69" HREF="stabs_8.html#SEC69">A.2 Stab Symbol Types</A>
<BR>
</UL>
<A NAME="TOC70" HREF="stabs_9.html#SEC70">B. Table of Symbol Descriptors</A>
<BR>
<A NAME="TOC71" HREF="stabs_10.html#SEC71">C. Table of Type Descriptors</A>
<BR>
<A NAME="TOC72" HREF="stabs_11.html#SEC72">D. Expanded Reference by Stab Type</A>
<BR>
<UL>
<A NAME="TOC73" HREF="stabs_11.html#SEC73">D.1 N_PC</A>
<BR>
<A NAME="TOC74" HREF="stabs_11.html#SEC74">D.2 N_NSYMS</A>
<BR>
<A NAME="TOC75" HREF="stabs_11.html#SEC75">D.3 N_NOMAP</A>
<BR>
<A NAME="TOC76" HREF="stabs_11.html#SEC76">D.4 N_M2C</A>
<BR>
<A NAME="TOC77" HREF="stabs_11.html#SEC77">D.5 N_BROWS</A>
<BR>
<A NAME="TOC78" HREF="stabs_11.html#SEC78">D.6 N_DEFD</A>
<BR>
<A NAME="TOC79" HREF="stabs_11.html#SEC79">D.7 N_EHDECL</A>
<BR>
<A NAME="TOC80" HREF="stabs_11.html#SEC80">D.8 N_MOD2</A>
<BR>
<A NAME="TOC81" HREF="stabs_11.html#SEC81">D.9 N_CATCH</A>
<BR>
<A NAME="TOC82" HREF="stabs_11.html#SEC82">D.10 N_SSYM</A>
<BR>
<A NAME="TOC83" HREF="stabs_11.html#SEC83">D.11 N_SCOPE</A>
<BR>
<A NAME="TOC84" HREF="stabs_11.html#SEC84">D.12 Non-base registers on Gould systems</A>
<BR>
<A NAME="TOC85" HREF="stabs_11.html#SEC85">D.13 N_LENG</A>
<BR>
</UL>
<A NAME="TOC86" HREF="stabs_12.html#SEC86">E. Questions and Anomalies</A>
<BR>
<A NAME="TOC87" HREF="stabs_13.html#SEC87">F. Using Stabs in Their Own Sections</A>
<BR>
<UL>
<A NAME="TOC88" HREF="stabs_13.html#SEC88">F.1 How to Embed Stabs in Sections</A>
<BR>
<A NAME="TOC89" HREF="stabs_13.html#SEC89">F.2 Having the Linker Relocate Stabs in ELF</A>
<BR>
</UL>
<A NAME="TOC90" HREF="stabs_14.html#SEC90">Symbol Types Index</A>
<BR>
</UL>
<HR SIZE=1>
<BR>
<FONT SIZE="-1">
<address>
<p>Please send FSF &amp; GNU inquiries &amp; questions to <a
href="mailto:gnu@gnu.org">gnu@gnu.org</a>. There are also <a
href="http://www.gnu.org/home.html#ContactInfo">other ways to
contact</a> the FSF.</p>
<p>These pages are maintained by <a
href="http://www.gnu.org/software/gdb/">the GDB developers</a>.</p>
<p>Copyright Free Software Foundation, Inc., 59 Temple Place - Suite
330, Boston, MA 02111, USA.</p>
<p>Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.</p>
</address>
This document was generated
by <I>GDB Administrator</I> on <I>March, 28 2002</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>