3 <title>Debugging with GDB
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Debugging with GDB">
6 <meta name=
"generator" content=
"makeinfo 4.3">
7 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home">
12 Node:
<a name=
"GDB%2fMI">GDB/MI
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"GDB-Bugs.html#GDB%20Bugs">GDB Bugs
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Annotations.html#Annotations">Annotations
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"index.html#Top">Top
</a>
19 <h2 class=
"chapter">The
<small>GDB/MI
</small> Interface
</h2>
21 <h3 class=
"unnumberedsec">Function and Purpose
</h3>
23 <p><small>GDB/MI
</small> is a line based machine oriented text interface to GDB. It is
24 specifically intended to support the development of systems which use
25 the debugger as just one small component of a larger system.
27 <p>This chapter is a specification of the
<small>GDB/MI
</small> interface. It is written
28 in the form of a reference manual.
30 <p>Note that
<small>GDB/MI
</small> is still under construction, so some of the
31 features described below are incomplete and subject to change.
33 <h3 class=
"unnumberedsec">Notation and Terminology
</h3>
35 <p>This chapter uses the following notation:
38 <li><code>|
</code> separates two alternatives.
40 <li><code>[
</code><var>something
</var><code> ]
</code> indicates that
<var>something
</var> is optional:
41 it may or may not be given.
43 <li><code>(
</code><var>group
</var><code> )*
</code> means that
<var>group
</var> inside the parentheses
44 may repeat zero or more times.
46 <li><code>(
</code><var>group
</var><code> )+
</code> means that
<var>group
</var> inside the parentheses
47 may repeat one or more times.
49 <li><code>"</code><var>string</var><code>"</code> means a literal
<var>string
</var>.
52 <h3 class=
"heading">Acknowledgments
</h3>
54 <p>In alphabetic order: Andrew Cagney, Fernando Nasser, Stan Shebs and
58 <li><a accesskey=
"1" href=
"GDB-MI-Command-Syntax.html#GDB%2fMI%20Command%20Syntax">GDB/MI Command Syntax
</a>:
59 <li><a accesskey=
"2" href=
"GDB-MI-Compatibility-with-CLI.html#GDB%2fMI%20Compatibility%20with%20CLI">GDB/MI Compatibility with CLI
</a>:
60 <li><a accesskey=
"3" href=
"GDB-MI-Output-Records.html#GDB%2fMI%20Output%20Records">GDB/MI Output Records
</a>:
61 <li><a accesskey=
"4" href=
"GDB-MI-Command-Description-Format.html#GDB%2fMI%20Command%20Description%20Format">GDB/MI Command Description Format
</a>:
62 <li><a accesskey=
"5" href=
"GDB-MI-Breakpoint-Table-Commands.html#GDB%2fMI%20Breakpoint%20Table%20Commands">GDB/MI Breakpoint Table Commands
</a>:
63 <li><a accesskey=
"6" href=
"GDB-MI-Data-Manipulation.html#GDB%2fMI%20Data%20Manipulation">GDB/MI Data Manipulation
</a>:
64 <li><a accesskey=
"7" href=
"GDB-MI-Program-Control.html#GDB%2fMI%20Program%20Control">GDB/MI Program Control
</a>:
65 <li><a accesskey=
"8" href=
"GDB-MI-Miscellaneous-Commands.html#GDB%2fMI%20Miscellaneous%20Commands">GDB/MI Miscellaneous Commands
</a>:
66 <li><a accesskey=
"9" href=
"GDB-MI-Stack-Manipulation.html#GDB%2fMI%20Stack%20Manipulation">GDB/MI Stack Manipulation
</a>:
67 <li><a href=
"GDB-MI-Symbol-Query.html#GDB%2fMI%20Symbol%20Query">GDB/MI Symbol Query
</a>:
68 <li><a href=
"GDB-MI-Target-Manipulation.html#GDB%2fMI%20Target%20Manipulation">GDB/MI Target Manipulation
</a>:
69 <li><a href=
"GDB-MI-Thread-Commands.html#GDB%2fMI%20Thread%20Commands">GDB/MI Thread Commands
</a>:
70 <li><a href=
"GDB-MI-Tracepoint-Commands.html#GDB%2fMI%20Tracepoint%20Commands">GDB/MI Tracepoint Commands
</a>:
71 <li><a href=
"GDB-MI-Variable-Objects.html#GDB%2fMI%20Variable%20Objects">GDB/MI Variable Objects
</a>: