gdbint_12.html   [plain text]


<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 - Support Libraries</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="gdbint_1.html">first</A>, <A HREF="gdbint_11.html">previous</A>, <A HREF="gdbint_13.html">next</A>, <A HREF="gdbint_16.html">last</A> section, <A HREF="gdbint_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC82" HREF="gdbint_toc.html#TOC82">Support Libraries</A></H1>



<H2><A NAME="SEC83" HREF="gdbint_toc.html#TOC83">BFD</A></H2>

<P>
BFD provides support for GDB in several ways:

</P>
<DL COMPACT>

<DT><EM>identifying executable and core files</EM>
<DD>
BFD will identify a variety of file types, including a.out, coff, and
several variants thereof, as well as several kinds of core files.

<DT><EM>access to sections of files</EM>
<DD>
BFD parses the file headers to determine the names, virtual addresses,
sizes, and file locations of all the various named sections in files
(such as the text section or the data section).  GDB simply calls BFD to
read or write section X at byte offset Y for length Z.

<DT><EM>specialized core file support</EM>
<DD>
BFD provides routines to determine the failing command name stored in a
core file, the signal with which the program failed, and whether a core
file matches (i.e. could be a core dump of) a particular executable
file.

<DT><EM>locating the symbol information</EM>
<DD>
GDB uses an internal interface of BFD to determine where to find the
symbol information in an executable file or symbol-file.  GDB itself
handles the reading of symbols, since BFD does not "understand" debug
symbols, but GDB uses BFD's cached information to find the symbols,
string table, etc.

</DL>



<H2><A NAME="SEC84" HREF="gdbint_toc.html#TOC84">opcodes</A></H2>

<P>
The opcodes library provides GDB's disassembler.  (It's a separate
library because it's also used in binutils, for <TT>`objdump'</TT>).

</P>


<H2><A NAME="SEC85" HREF="gdbint_toc.html#TOC85">readline</A></H2>



<H2><A NAME="SEC86" HREF="gdbint_toc.html#TOC86">mmalloc</A></H2>



<H2><A NAME="SEC87" HREF="gdbint_toc.html#TOC87">libiberty</A></H2>



<H2><A NAME="SEC88" HREF="gdbint_toc.html#TOC88">gnu-regex</A></H2>

<P>
Regex conditionals.

</P>
<DL COMPACT>

<DT><CODE>C_ALLOCA</CODE>
<DD>
<DT><CODE>NFAILURES</CODE>
<DD>
<DT><CODE>RE_NREGS</CODE>
<DD>
<DT><CODE>SIGN_EXTEND_CHAR</CODE>
<DD>
<DT><CODE>SWITCH_ENUM_BUG</CODE>
<DD>
<DT><CODE>SYNTAX_TABLE</CODE>
<DD>
<DT><CODE>Sword</CODE>
<DD>
<DT><CODE>sparc</CODE>
<DD>
</DL>



<H2><A NAME="SEC89" HREF="gdbint_toc.html#TOC89">include</A></H2>

<P><HR><P>
Go to the <A HREF="gdbint_1.html">first</A>, <A HREF="gdbint_11.html">previous</A>, <A HREF="gdbint_13.html">next</A>, <A HREF="gdbint_16.html">last</A> section, <A HREF="gdbint_toc.html">table of contents</A>.
</BODY>
</HTML>