<HTML> <HEAD> <!-- This HTML file has been created by texi2html 1.51 from /mnt/apple/gdb/source/gdb.apple/source/gdb/gdb/doc/gdbint.texinfo on 23 November 1999 --> <TITLE>GDB Internals - Table of Contents</TITLE> </HEAD> <BODY> <H1>GDB Internals</H1> <ADDRESS>John Gilmore</ADDRESS> <ADDRESS>Cygnus Solutions</ADDRESS> <ADDRESS>Second Edition:</ADDRESS> <ADDRESS>Stan Shebs</ADDRESS> <ADDRESS>Cygnus Solutions</ADDRESS> <P> <P><HR><P> <UL> <LI><A NAME="TOC1" HREF="gdbint_1.html#SEC1">Requirements</A> <LI><A NAME="TOC2" HREF="gdbint_2.html#SEC2">Overall Structure</A> <UL> <LI><A NAME="TOC3" HREF="gdbint_2.html#SEC3">The Symbol Side</A> <LI><A NAME="TOC4" HREF="gdbint_2.html#SEC4">The Target Side</A> <LI><A NAME="TOC5" HREF="gdbint_2.html#SEC5">Configurations</A> </UL> <LI><A NAME="TOC6" HREF="gdbint_3.html#SEC6">Algorithms</A> <UL> <LI><A NAME="TOC7" HREF="gdbint_3.html#SEC7">Frames</A> <LI><A NAME="TOC8" HREF="gdbint_3.html#SEC8">Breakpoint Handling</A> <LI><A NAME="TOC9" HREF="gdbint_3.html#SEC9">Single Stepping</A> <LI><A NAME="TOC10" HREF="gdbint_3.html#SEC10">Signal Handling</A> <LI><A NAME="TOC11" HREF="gdbint_3.html#SEC11">Thread Handling</A> <LI><A NAME="TOC12" HREF="gdbint_3.html#SEC12">Inferior Function Calls</A> <LI><A NAME="TOC13" HREF="gdbint_3.html#SEC13">Longjmp Support</A> </UL> <LI><A NAME="TOC14" HREF="gdbint_4.html#SEC14">User Interface</A> <UL> <LI><A NAME="TOC15" HREF="gdbint_4.html#SEC15">Command Interpreter</A> <LI><A NAME="TOC16" HREF="gdbint_4.html#SEC16">Console Printing</A> <LI><A NAME="TOC17" HREF="gdbint_4.html#SEC17">TUI</A> <LI><A NAME="TOC18" HREF="gdbint_4.html#SEC18">libgdb</A> </UL> <LI><A NAME="TOC19" HREF="gdbint_5.html#SEC19">Symbol Handling</A> <UL> <LI><A NAME="TOC20" HREF="gdbint_5.html#SEC20">Symbol Reading</A> <LI><A NAME="TOC21" HREF="gdbint_5.html#SEC21">Partial Symbol Tables</A> <LI><A NAME="TOC22" HREF="gdbint_5.html#SEC22">Types</A> <LI><A NAME="TOC23" HREF="gdbint_5.html#SEC23">Object File Formats</A> <UL> <LI><A NAME="TOC24" HREF="gdbint_5.html#SEC24">a.out</A> <LI><A NAME="TOC25" HREF="gdbint_5.html#SEC25">COFF</A> <LI><A NAME="TOC26" HREF="gdbint_5.html#SEC26">ECOFF</A> <LI><A NAME="TOC27" HREF="gdbint_5.html#SEC27">XCOFF</A> <LI><A NAME="TOC28" HREF="gdbint_5.html#SEC28">PE</A> <LI><A NAME="TOC29" HREF="gdbint_5.html#SEC29">ELF</A> <LI><A NAME="TOC30" HREF="gdbint_5.html#SEC30">SOM</A> <LI><A NAME="TOC31" HREF="gdbint_5.html#SEC31">Other File Formats</A> </UL> <LI><A NAME="TOC32" HREF="gdbint_5.html#SEC32">Debugging File Formats</A> <UL> <LI><A NAME="TOC33" HREF="gdbint_5.html#SEC33">stabs</A> <LI><A NAME="TOC34" HREF="gdbint_5.html#SEC34">COFF</A> <LI><A NAME="TOC35" HREF="gdbint_5.html#SEC35">Mips debug (Third Eye)</A> <LI><A NAME="TOC36" HREF="gdbint_5.html#SEC36">DWARF 1</A> <LI><A NAME="TOC37" HREF="gdbint_5.html#SEC37">DWARF 2</A> <LI><A NAME="TOC38" HREF="gdbint_5.html#SEC38">SOM</A> </UL> <LI><A NAME="TOC39" HREF="gdbint_5.html#SEC39">Adding a New Symbol Reader to GDB</A> </UL> <LI><A NAME="TOC40" HREF="gdbint_6.html#SEC40">Language Support</A> <UL> <LI><A NAME="TOC41" HREF="gdbint_6.html#SEC41">Adding a Source Language to GDB</A> </UL> <LI><A NAME="TOC42" HREF="gdbint_7.html#SEC42">Host Definition</A> <UL> <LI><A NAME="TOC43" HREF="gdbint_7.html#SEC43">Adding a New Host</A> <LI><A NAME="TOC44" HREF="gdbint_7.html#SEC44">Host Conditionals</A> </UL> <LI><A NAME="TOC45" HREF="gdbint_8.html#SEC45">GDB Overview</A> <UL> <LI><A NAME="TOC46" HREF="gdbint_8.html#SEC46">Libraries used by GDB</A> <LI><A NAME="TOC47" HREF="gdbint_8.html#SEC47">GDB Directory Structure</A> <LI><A NAME="TOC48" HREF="gdbint_8.html#SEC48">Overview of Source Files</A> <UL> <LI><A NAME="TOC49" HREF="gdbint_8.html#SEC49">Top Level</A> <LI><A NAME="TOC50" HREF="gdbint_8.html#SEC50">GDB Targets / Program Control</A> <LI><A NAME="TOC51" HREF="gdbint_8.html#SEC51">Types, Values, and Expressions</A> <LI><A NAME="TOC52" HREF="gdbint_8.html#SEC52">Stack Analysis</A> <LI><A NAME="TOC53" HREF="gdbint_8.html#SEC53">Breakpoints</A> <LI><A NAME="TOC54" HREF="gdbint_8.html#SEC54">Symbol File Management</A> <LI><A NAME="TOC55" HREF="gdbint_8.html#SEC55">Language-Specific Sources</A> <LI><A NAME="TOC56" HREF="gdbint_8.html#SEC56">Kernel Debugging</A> <LI><A NAME="TOC57" HREF="gdbint_8.html#SEC57">Sources Specific to Mac OS X</A> <LI><A NAME="TOC58" HREF="gdbint_8.html#SEC58">PowerPC-specific Sources</A> <LI><A NAME="TOC59" HREF="gdbint_8.html#SEC59">Miscellaneous</A> <LI><A NAME="TOC60" HREF="gdbint_8.html#SEC60">Assorted Utilities</A> </UL> </UL> <LI><A NAME="TOC61" HREF="gdbint_9.html#SEC61">Target Architecture Definition</A> <UL> <LI><A NAME="TOC62" HREF="gdbint_9.html#SEC62">Registers and Memory</A> <LI><A NAME="TOC63" HREF="gdbint_9.html#SEC63">Frame Interpretation</A> <LI><A NAME="TOC64" HREF="gdbint_9.html#SEC64">Inferior Call Setup</A> <LI><A NAME="TOC65" HREF="gdbint_9.html#SEC65">Compiler Characteristics</A> <LI><A NAME="TOC66" HREF="gdbint_9.html#SEC66">Target Conditionals</A> <LI><A NAME="TOC67" HREF="gdbint_9.html#SEC67">Adding a New Target</A> </UL> <LI><A NAME="TOC68" HREF="gdbint_10.html#SEC68">Target Vector Definition</A> <UL> <LI><A NAME="TOC69" HREF="gdbint_10.html#SEC69">File Targets</A> <LI><A NAME="TOC70" HREF="gdbint_10.html#SEC70">Standard Protocol and Remote Stubs</A> <LI><A NAME="TOC71" HREF="gdbint_10.html#SEC71">ROM Monitor Interface</A> <LI><A NAME="TOC72" HREF="gdbint_10.html#SEC72">Custom Protocols</A> <LI><A NAME="TOC73" HREF="gdbint_10.html#SEC73">Transport Layer</A> <LI><A NAME="TOC74" HREF="gdbint_10.html#SEC74">Builtin Simulator</A> </UL> <LI><A NAME="TOC75" HREF="gdbint_11.html#SEC75">Native Debugging</A> <UL> <LI><A NAME="TOC76" HREF="gdbint_11.html#SEC76">Native core file Support</A> <LI><A NAME="TOC77" HREF="gdbint_11.html#SEC77">ptrace</A> <LI><A NAME="TOC78" HREF="gdbint_11.html#SEC78">/proc</A> <LI><A NAME="TOC79" HREF="gdbint_11.html#SEC79">win32</A> <LI><A NAME="TOC80" HREF="gdbint_11.html#SEC80">shared libraries</A> <LI><A NAME="TOC81" HREF="gdbint_11.html#SEC81">Native Conditionals</A> </UL> <LI><A NAME="TOC82" HREF="gdbint_12.html#SEC82">Support Libraries</A> <UL> <LI><A NAME="TOC83" HREF="gdbint_12.html#SEC83">BFD</A> <LI><A NAME="TOC84" HREF="gdbint_12.html#SEC84">opcodes</A> <LI><A NAME="TOC85" HREF="gdbint_12.html#SEC85">readline</A> <LI><A NAME="TOC86" HREF="gdbint_12.html#SEC86">mmalloc</A> <LI><A NAME="TOC87" HREF="gdbint_12.html#SEC87">libiberty</A> <LI><A NAME="TOC88" HREF="gdbint_12.html#SEC88">gnu-regex</A> <LI><A NAME="TOC89" HREF="gdbint_12.html#SEC89">include</A> </UL> <LI><A NAME="TOC90" HREF="gdbint_13.html#SEC90">Coding</A> <UL> <LI><A NAME="TOC91" HREF="gdbint_13.html#SEC91">Cleanups</A> <LI><A NAME="TOC92" HREF="gdbint_13.html#SEC92">Wrapping Output Lines</A> <LI><A NAME="TOC93" HREF="gdbint_13.html#SEC93">GDB Coding Standards</A> <UL> <LI><A NAME="TOC94" HREF="gdbint_13.html#SEC94">Formatting</A> <LI><A NAME="TOC95" HREF="gdbint_13.html#SEC95">Comments</A> <LI><A NAME="TOC96" HREF="gdbint_13.html#SEC96">C Usage</A> <LI><A NAME="TOC97" HREF="gdbint_13.html#SEC97">Function Prototypes</A> <LI><A NAME="TOC98" HREF="gdbint_13.html#SEC98">Clean Design</A> </UL> </UL> <LI><A NAME="TOC99" HREF="gdbint_14.html#SEC99">Porting GDB</A> <UL> <LI><A NAME="TOC100" HREF="gdbint_14.html#SEC100">Configuring GDB for Release</A> </UL> <LI><A NAME="TOC101" HREF="gdbint_15.html#SEC101">Testsuite</A> <UL> <LI><A NAME="TOC102" HREF="gdbint_15.html#SEC102">Using the Testsuite</A> <LI><A NAME="TOC103" HREF="gdbint_15.html#SEC103">Testsuite Organization</A> <LI><A NAME="TOC104" HREF="gdbint_15.html#SEC104">Writing Tests</A> </UL> <LI><A NAME="TOC105" HREF="gdbint_16.html#SEC105">Hints</A> <UL> <LI><A NAME="TOC106" HREF="gdbint_16.html#SEC106">Getting Started</A> <LI><A NAME="TOC107" HREF="gdbint_16.html#SEC107">Debugging GDB with itself</A> <LI><A NAME="TOC108" HREF="gdbint_16.html#SEC108">Submitting Patches</A> <LI><A NAME="TOC109" HREF="gdbint_16.html#SEC109">Obsolete Conditionals</A> </UL> </UL> <P><HR><P> This document was generated on 23 November 1999 using the <A HREF="http://wwwcn.cern.ch/dci/texi2html/">texi2html</A> translator version 1.51.</P> </BODY> </HTML>