mirror of
https://github.com/rtlduino/RTL8710AF_GCC.git
synced 2026-07-14 07:15:42 +00:00
motify compile link error
motify compile link error
This commit is contained in:
parent
923914edae
commit
03e74a8e50
5418 changed files with 1367914 additions and 206149 deletions
|
|
@ -0,0 +1,92 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Annotations Overview - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="index.html#Top" title="Top">
|
||||
<link rel="next" href="Limitations.html#Limitations" title="Limitations">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="settitle">GDB's Obsolete Annotations</h1>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Annotations-Overview"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Limitations.html#Limitations">Limitations</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="index.html#Top">Top</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">1 What is an Annotation?</h2>
|
||||
|
||||
<p><a name="index-annotations-1"></a>
|
||||
To produce obsolete level two annotations, start <span class="sc">gdb</span> with the
|
||||
<code>--annotate=2</code> option.
|
||||
|
||||
<p>Annotations start with a newline character, two ‘<samp><span class="samp">control-z</span></samp>’
|
||||
characters, and the name of the annotation. If there is no additional
|
||||
information associated with this annotation, the name of the annotation
|
||||
is followed immediately by a newline. If there is additional
|
||||
information, the name of the annotation is followed by a space, the
|
||||
additional information, and a newline. The additional information
|
||||
cannot contain newline characters.
|
||||
|
||||
<p>Any output not beginning with a newline and two ‘<samp><span class="samp">control-z</span></samp>’
|
||||
characters denotes literal output from <span class="sc">gdb</span>. Currently there is
|
||||
no need for <span class="sc">gdb</span> to output a newline followed by two
|
||||
‘<samp><span class="samp">control-z</span></samp>’ characters, but if there was such a need, the
|
||||
annotations could be extended with an ‘<samp><span class="samp">escape</span></samp>’ annotation which
|
||||
means those three characters as output.
|
||||
|
||||
<p>A simple example of starting up <span class="sc">gdb</span> with annotations is:
|
||||
|
||||
<pre class="smallexample"> $ gdb --annotate=2
|
||||
GNU GDB 5.0
|
||||
Copyright 2000 Free Software Foundation, Inc.
|
||||
GDB is free software, covered by the GNU General Public License,
|
||||
and you are welcome to change it and/or distribute copies of it
|
||||
under certain conditions.
|
||||
Type "show copying" to see the conditions.
|
||||
There is absolutely no warranty for GDB. Type "show warranty"
|
||||
for details.
|
||||
This GDB was configured as "sparc-sun-sunos4.1.3"
|
||||
|
||||
^Z^Zpre-prompt
|
||||
(gdb)
|
||||
^Z^Zprompt
|
||||
quit
|
||||
|
||||
^Z^Zpost-prompt
|
||||
$
|
||||
</pre>
|
||||
<p>Here ‘<samp><span class="samp">quit</span></samp>’ is input to <span class="sc">gdb</span>; the rest is output from
|
||||
<span class="sc">gdb</span>. The three lines beginning ‘<samp><span class="samp">^Z^Z</span></samp>’ (where ‘<samp><span class="samp">^Z</span></samp>’
|
||||
denotes a ‘<samp><span class="samp">control-z</span></samp>’ character) are annotations; the rest is
|
||||
output from <span class="sc">gdb</span>.
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Annotations for Running - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Invalidation.html#Invalidation" title="Invalidation">
|
||||
<link rel="next" href="Source-Annotations.html#Source-Annotations" title="Source Annotations">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Annotations-for-Running"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Source-Annotations.html#Source-Annotations">Source Annotations</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Invalidation.html#Invalidation">Invalidation</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">12 Running the Program</h2>
|
||||
|
||||
<p><a name="index-annotations-for-running-programs-73"></a>
|
||||
<a name="index-starting-74"></a><a name="index-stopping-75"></a>When the program starts executing due to a <span class="sc">gdb</span> command such as
|
||||
<code>step</code> or <code>continue</code>,
|
||||
|
||||
<pre class="smallexample"> ^Z^Zstarting
|
||||
</pre>
|
||||
<p>is output. When the program stops,
|
||||
|
||||
<pre class="smallexample"> ^Z^Zstopped
|
||||
</pre>
|
||||
<p>is output. Before the <code>stopped</code> annotation, a variety of
|
||||
annotations describe how the program stopped.
|
||||
|
||||
|
||||
<a name="index-exited-76"></a>
|
||||
<dl><dt><code>^Z^Zexited </code><var>exit-status</var><dd>The program exited, and <var>exit-status</var> is the exit status (zero for
|
||||
successful exit, otherwise nonzero).
|
||||
|
||||
<p><a name="index-signalled-77"></a><a name="index-signal_002dname-78"></a><a name="index-signal_002dname_002dend-79"></a><a name="index-signal_002dstring-80"></a><a name="index-signal_002dstring_002dend-81"></a><br><dt><code>^Z^Zsignalled</code><dd>The program exited with a signal. After the <code>^Z^Zsignalled</code>, the
|
||||
annotation continues:
|
||||
|
||||
<pre class="smallexample"> <var>intro-text</var>
|
||||
^Z^Zsignal-name
|
||||
<var>name</var>
|
||||
^Z^Zsignal-name-end
|
||||
<var>middle-text</var>
|
||||
^Z^Zsignal-string
|
||||
<var>string</var>
|
||||
^Z^Zsignal-string-end
|
||||
<var>end-text</var>
|
||||
</pre>
|
||||
<p class="noindent">where <var>name</var> is the name of the signal, such as <code>SIGILL</code> or
|
||||
<code>SIGSEGV</code>, and <var>string</var> is the explanation of the signal, such
|
||||
as <code>Illegal Instruction</code> or <code>Segmentation fault</code>.
|
||||
<var>intro-text</var>, <var>middle-text</var>, and <var>end-text</var> are for the
|
||||
user's benefit and have no particular format.
|
||||
|
||||
<p><a name="index-signal-82"></a><br><dt><code>^Z^Zsignal</code><dd>The syntax of this annotation is just like <code>signalled</code>, but <span class="sc">gdb</span> is
|
||||
just saying that the program received the signal, not that it was
|
||||
terminated with it.
|
||||
|
||||
<p><a name="index-breakpoint-83"></a><br><dt><code>^Z^Zbreakpoint </code><var>number</var><dd>The program hit breakpoint number <var>number</var>.
|
||||
|
||||
<p><a name="index-watchpoint-84"></a><br><dt><code>^Z^Zwatchpoint </code><var>number</var><dd>The program hit watchpoint number <var>number</var>.
|
||||
</dl>
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Breakpoint Info - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Errors.html#Errors" title="Errors">
|
||||
<link rel="next" href="Invalidation.html#Invalidation" title="Invalidation">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Breakpoint-Info"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Invalidation.html#Invalidation">Invalidation</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Errors.html#Errors">Errors</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">10 Information on Breakpoints</h2>
|
||||
|
||||
<p><em>Breakpoint Annotations have been removed. </em><span class="sc">gdb/mi</span><em> instead
|
||||
provides breakpoint commands.</em>
|
||||
|
||||
<p><a name="index-annotations-for-breakpoints-64"></a>The output from the <code>info breakpoints</code> command is annotated as follows:
|
||||
|
||||
<p><a name="index-breakpoints_002dheaders-65"></a><a name="index-breakpoints_002dtable-66"></a>
|
||||
<pre class="smallexample"> ^Z^Zbreakpoints-headers
|
||||
<var>header-entry</var>
|
||||
^Z^Zbreakpoints-table
|
||||
</pre>
|
||||
<p class="noindent">where <var>header-entry</var> has the same syntax as an entry (see below) but
|
||||
instead of containing data, it contains strings which are intended to
|
||||
convey the meaning of each field to the user. This is followed by any
|
||||
number of entries. If a field does not apply for this entry, it is
|
||||
omitted. Fields may contain trailing whitespace. Each entry consists
|
||||
of:
|
||||
|
||||
<p><a name="index-record-67"></a><a name="index-field-68"></a>
|
||||
<pre class="smallexample"> ^Z^Zrecord
|
||||
^Z^Zfield 0
|
||||
<var>number</var>
|
||||
^Z^Zfield 1
|
||||
<var>type</var>
|
||||
^Z^Zfield 2
|
||||
<var>disposition</var>
|
||||
^Z^Zfield 3
|
||||
<var>enable</var>
|
||||
^Z^Zfield 4
|
||||
<var>address</var>
|
||||
^Z^Zfield 5
|
||||
<var>what</var>
|
||||
^Z^Zfield 6
|
||||
<var>frame</var>
|
||||
^Z^Zfield 7
|
||||
<var>condition</var>
|
||||
^Z^Zfield 8
|
||||
<var>ignore-count</var>
|
||||
^Z^Zfield 9
|
||||
<var>commands</var>
|
||||
</pre>
|
||||
<p>Note that <var>address</var> is intended for user consumption—the syntax
|
||||
varies depending on the language.
|
||||
|
||||
<p>The output ends with
|
||||
|
||||
<p><a name="index-breakpoints_002dtable_002dend-69"></a>
|
||||
<pre class="smallexample"> ^Z^Zbreakpoints-table-end
|
||||
</pre>
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Displays - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Frame-Annotations.html#Frame-Annotations" title="Frame Annotations">
|
||||
<link rel="next" href="Prompting.html#Prompting" title="Prompting">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Displays"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Prompting.html#Prompting">Prompting</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Frame-Annotations.html#Frame-Annotations">Frame Annotations</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">7 Displays</h2>
|
||||
|
||||
<p><em>Display Annotations have been removed. </em><span class="sc">gdb/mi</span><em> instead
|
||||
provides Variable Objects.</em>
|
||||
|
||||
<p><a name="index-display_002dbegin-36"></a><a name="index-display_002dnumber_002dend-37"></a><a name="index-display_002dformat-38"></a><a name="index-display_002dexpression-39"></a><a name="index-display_002dexpression_002dend-40"></a><a name="index-display_002dvalue-41"></a><a name="index-display_002dend-42"></a><a name="index-annotations-for-display-43"></a>When <span class="sc">gdb</span> is told to display something using the <code>display</code> command,
|
||||
the results of the display are annotated:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zdisplay-begin
|
||||
<var>number</var>
|
||||
^Z^Zdisplay-number-end
|
||||
<var>number-separator</var>
|
||||
^Z^Zdisplay-format
|
||||
<var>format</var>
|
||||
^Z^Zdisplay-expression
|
||||
<var>expression</var>
|
||||
^Z^Zdisplay-expression-end
|
||||
<var>expression-separator</var>
|
||||
^Z^Zdisplay-value
|
||||
<var>value</var>
|
||||
^Z^Zdisplay-end
|
||||
</pre>
|
||||
<p class="noindent">where <var>number</var> is the number of the display, <var>number-separator</var>
|
||||
is intended to separate the number from what follows for the user,
|
||||
<var>format</var> includes information such as the size, format, or other
|
||||
information about how the value is being displayed, <var>expression</var> is
|
||||
the expression being displayed, <var>expression-separator</var> is intended
|
||||
to separate the expression from the text that follows for the user,
|
||||
and <var>value</var> is the actual value being displayed.
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Errors - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Prompting.html#Prompting" title="Prompting">
|
||||
<link rel="next" href="Breakpoint-Info.html#Breakpoint-Info" title="Breakpoint Info">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Errors"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Breakpoint-Info.html#Breakpoint-Info">Breakpoint Info</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Prompting.html#Prompting">Prompting</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">9 Errors</h2>
|
||||
|
||||
<p><a name="index-annotations-for-errors_002c-warnings-and-interrupts-60"></a>
|
||||
<a name="index-quit-61"></a>
|
||||
<pre class="smallexample"> ^Z^Zquit
|
||||
</pre>
|
||||
<p>This annotation occurs right before <span class="sc">gdb</span> responds to an interrupt.
|
||||
|
||||
<p><a name="index-error-62"></a>
|
||||
<pre class="smallexample"> ^Z^Zerror
|
||||
</pre>
|
||||
<p>This annotation occurs right before <span class="sc">gdb</span> responds to an error.
|
||||
|
||||
<p>Quit and error annotations indicate that any annotations which <span class="sc">gdb</span> was
|
||||
in the middle of may end abruptly. For example, if a
|
||||
<code>value-history-begin</code> annotation is followed by a <code>error</code>, one
|
||||
cannot expect to receive the matching <code>value-history-end</code>. One
|
||||
cannot expect not to receive it either, however; an error annotation
|
||||
does not necessarily mean that <span class="sc">gdb</span> is immediately returning all the way
|
||||
to the top level.
|
||||
|
||||
<p><a name="index-error_002dbegin-63"></a>A quit or error annotation may be preceded by
|
||||
|
||||
<pre class="smallexample"> ^Z^Zerror-begin
|
||||
</pre>
|
||||
<p>Any output between that and the quit or error annotation is the error
|
||||
message.
|
||||
|
||||
<p>Warning messages are not yet annotated.
|
||||
<!-- If we want to change that, need to fix warning(), type_error(), -->
|
||||
<!-- range_error(), and possibly other places. -->
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,153 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Frame Annotations - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Value-Annotations.html#Value-Annotations" title="Value Annotations">
|
||||
<link rel="next" href="Displays.html#Displays" title="Displays">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Frame-Annotations"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Displays.html#Displays">Displays</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Value-Annotations.html#Value-Annotations">Value Annotations</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">6 Frames</h2>
|
||||
|
||||
<p><em>Value Annotations have been removed. </em><span class="sc">gdb/mi</span><em> instead provides
|
||||
a number of frame commands.</em>
|
||||
|
||||
<p><em>Frame annotations are no longer available. The </em><span class="sc">gdb/mi</span><em>
|
||||
provides ‘</em><samp><span class="samp">-stack-list-arguments</span></samp><em>’, ‘</em><samp><span class="samp">-stack-list-locals</span></samp><em>’, and
|
||||
‘</em><samp><span class="samp">-stack-list-frames</span></samp><em>’ commands.</em>
|
||||
|
||||
<p><a name="index-annotations-for-frames-21"></a>Whenever <span class="sc">gdb</span> prints a frame, it annotates it. For example, this applies
|
||||
to frames printed when <span class="sc">gdb</span> stops, output from commands such as
|
||||
<code>backtrace</code> or <code>up</code>, etc.
|
||||
|
||||
<p><a name="index-frame_002dbegin-22"></a>The frame annotation begins with
|
||||
|
||||
<pre class="smallexample"> ^Z^Zframe-begin <var>level</var> <var>address</var>
|
||||
<var>level-string</var>
|
||||
</pre>
|
||||
<p class="noindent">where <var>level</var> is the number of the frame (0 is the innermost frame,
|
||||
and other frames have positive numbers), <var>address</var> is the address of
|
||||
the code executing in that frame, and <var>level-string</var> is a string
|
||||
designed to convey the level to the user. <var>address</var> is in the form
|
||||
‘<samp><span class="samp">0x</span></samp>’ followed by one or more lowercase hex digits (note that this
|
||||
does not depend on the language). The frame ends with
|
||||
|
||||
<p><a name="index-frame_002dend-23"></a>
|
||||
<pre class="smallexample"> ^Z^Zframe-end
|
||||
</pre>
|
||||
<p>Between these annotations is the main body of the frame, which can
|
||||
consist of
|
||||
|
||||
<ul>
|
||||
<li><a name="index-function_002dcall-24"></a>
|
||||
<pre class="smallexample"> ^Z^Zfunction-call
|
||||
<var>function-call-string</var>
|
||||
</pre>
|
||||
<p>where <var>function-call-string</var> is text designed to convey to the user
|
||||
that this frame is associated with a function call made by <span class="sc">gdb</span> to a
|
||||
function in the program being debugged.
|
||||
|
||||
<li><a name="index-signal_002dhandler_002dcaller-25"></a>
|
||||
<pre class="smallexample"> ^Z^Zsignal-handler-caller
|
||||
<var>signal-handler-caller-string</var>
|
||||
</pre>
|
||||
<p>where <var>signal-handler-caller-string</var> is text designed to convey to
|
||||
the user that this frame is associated with whatever mechanism is used
|
||||
by this operating system to call a signal handler (it is the frame which
|
||||
calls the signal handler, not the frame for the signal handler itself).
|
||||
|
||||
<li>A normal frame.
|
||||
|
||||
<p><a name="index-frame_002daddress-26"></a><a name="index-frame_002daddress_002dend-27"></a>This can optionally (depending on whether this is thought of as
|
||||
interesting information for the user to see) begin with
|
||||
|
||||
<pre class="smallexample"> ^Z^Zframe-address
|
||||
<var>address</var>
|
||||
^Z^Zframe-address-end
|
||||
<var>separator-string</var>
|
||||
</pre>
|
||||
<p>where <var>address</var> is the address executing in the frame (the same
|
||||
address as in the <code>frame-begin</code> annotation, but printed in a form
|
||||
which is intended for user consumption—in particular, the syntax varies
|
||||
depending on the language), and <var>separator-string</var> is a string
|
||||
intended to separate this address from what follows for the user's
|
||||
benefit.
|
||||
|
||||
<p><a name="index-frame_002dfunction_002dname-28"></a><a name="index-frame_002dargs-29"></a>Then comes
|
||||
|
||||
<pre class="smallexample"> ^Z^Zframe-function-name
|
||||
<var>function-name</var>
|
||||
^Z^Zframe-args
|
||||
<var>arguments</var>
|
||||
</pre>
|
||||
<p>where <var>function-name</var> is the name of the function executing in the
|
||||
frame, or ‘<samp><span class="samp">??</span></samp>’ if not known, and <var>arguments</var> are the arguments
|
||||
to the frame, with parentheses around them (each argument is annotated
|
||||
individually as well, see <a href="Value-Annotations.html#Value-Annotations">Value Annotations</a>).
|
||||
|
||||
<p><a name="index-frame_002dsource_002dbegin-30"></a><a name="index-frame_002dsource_002dfile-31"></a><a name="index-frame_002dsource_002dfile_002dend-32"></a><a name="index-frame_002dsource_002dline-33"></a><a name="index-frame_002dsource_002dend-34"></a>If source information is available, a reference to it is then printed:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zframe-source-begin
|
||||
<var>source-intro-string</var>
|
||||
^Z^Zframe-source-file
|
||||
<var>filename</var>
|
||||
^Z^Zframe-source-file-end
|
||||
:
|
||||
^Z^Zframe-source-line
|
||||
<var>line-number</var>
|
||||
^Z^Zframe-source-end
|
||||
</pre>
|
||||
<p>where <var>source-intro-string</var> separates for the user's benefit the
|
||||
reference from the text which precedes it, <var>filename</var> is the name of
|
||||
the source file, and <var>line-number</var> is the line number within that
|
||||
file (the first line is line 1).
|
||||
|
||||
<p><a name="index-frame_002dwhere-35"></a>If <span class="sc">gdb</span> prints some information about where the frame is from (which
|
||||
library, which load segment, etc.; currently only done on the RS/6000),
|
||||
it is annotated with
|
||||
|
||||
<pre class="smallexample"> ^Z^Zframe-where
|
||||
<var>information</var>
|
||||
</pre>
|
||||
<p>Then, if source is to actually be displayed for this frame (for example,
|
||||
this is not true for output from the <code>backtrace</code> command), then a
|
||||
<code>source</code> annotation (see <a href="Source-Annotations.html#Source-Annotations">Source Annotations</a>) is displayed. Unlike
|
||||
most annotations, this is output instead of the normal text which would be
|
||||
output, not in addition.
|
||||
</ul>
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,510 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>GNU Free Documentation License - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Multi_002dthreaded-Apps.html#Multi_002dthreaded-Apps" title="Multi-threaded Apps">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="GNU-Free-Documentation-License"></a>
|
||||
Previous: <a rel="previous" accesskey="p" href="Multi_002dthreaded-Apps.html#Multi_002dthreaded-Apps">Multi-threaded Apps</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="appendix">Appendix A GNU Free Documentation License</h2>
|
||||
|
||||
<!-- The GNU Free Documentation License. -->
|
||||
<div align="center">Version 1.3, 3 November 2008</div>
|
||||
|
||||
<!-- This file is intended to be included within another document, -->
|
||||
<!-- hence no sectioning command or @node. -->
|
||||
<pre class="display"> Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
||||
<a href="http://fsf.org/">http://fsf.org/</a>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
</pre>
|
||||
<ol type=1 start=0>
|
||||
<li>PREAMBLE
|
||||
|
||||
<p>The purpose of this License is to make a manual, textbook, or other
|
||||
functional and useful document <dfn>free</dfn> in the sense of freedom: to
|
||||
assure everyone the effective freedom to copy and redistribute it,
|
||||
with or without modifying it, either commercially or noncommercially.
|
||||
Secondarily, this License preserves for the author and publisher a way
|
||||
to get credit for their work, while not being considered responsible
|
||||
for modifications made by others.
|
||||
|
||||
<p>This License is a kind of “copyleft”, which means that derivative
|
||||
works of the document must themselves be free in the same sense. It
|
||||
complements the GNU General Public License, which is a copyleft
|
||||
license designed for free software.
|
||||
|
||||
<p>We have designed this License in order to use it for manuals for free
|
||||
software, because free software needs free documentation: a free
|
||||
program should come with manuals providing the same freedoms that the
|
||||
software does. But this License is not limited to software manuals;
|
||||
it can be used for any textual work, regardless of subject matter or
|
||||
whether it is published as a printed book. We recommend this License
|
||||
principally for works whose purpose is instruction or reference.
|
||||
|
||||
<li>APPLICABILITY AND DEFINITIONS
|
||||
|
||||
<p>This License applies to any manual or other work, in any medium, that
|
||||
contains a notice placed by the copyright holder saying it can be
|
||||
distributed under the terms of this License. Such a notice grants a
|
||||
world-wide, royalty-free license, unlimited in duration, to use that
|
||||
work under the conditions stated herein. The “Document”, below,
|
||||
refers to any such manual or work. Any member of the public is a
|
||||
licensee, and is addressed as “you”. You accept the license if you
|
||||
copy, modify or distribute the work in a way requiring permission
|
||||
under copyright law.
|
||||
|
||||
<p>A “Modified Version” of the Document means any work containing the
|
||||
Document or a portion of it, either copied verbatim, or with
|
||||
modifications and/or translated into another language.
|
||||
|
||||
<p>A “Secondary Section” is a named appendix or a front-matter section
|
||||
of the Document that deals exclusively with the relationship of the
|
||||
publishers or authors of the Document to the Document's overall
|
||||
subject (or to related matters) and contains nothing that could fall
|
||||
directly within that overall subject. (Thus, if the Document is in
|
||||
part a textbook of mathematics, a Secondary Section may not explain
|
||||
any mathematics.) The relationship could be a matter of historical
|
||||
connection with the subject or with related matters, or of legal,
|
||||
commercial, philosophical, ethical or political position regarding
|
||||
them.
|
||||
|
||||
<p>The “Invariant Sections” are certain Secondary Sections whose titles
|
||||
are designated, as being those of Invariant Sections, in the notice
|
||||
that says that the Document is released under this License. If a
|
||||
section does not fit the above definition of Secondary then it is not
|
||||
allowed to be designated as Invariant. The Document may contain zero
|
||||
Invariant Sections. If the Document does not identify any Invariant
|
||||
Sections then there are none.
|
||||
|
||||
<p>The “Cover Texts” are certain short passages of text that are listed,
|
||||
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
|
||||
the Document is released under this License. A Front-Cover Text may
|
||||
be at most 5 words, and a Back-Cover Text may be at most 25 words.
|
||||
|
||||
<p>A “Transparent” copy of the Document means a machine-readable copy,
|
||||
represented in a format whose specification is available to the
|
||||
general public, that is suitable for revising the document
|
||||
straightforwardly with generic text editors or (for images composed of
|
||||
pixels) generic paint programs or (for drawings) some widely available
|
||||
drawing editor, and that is suitable for input to text formatters or
|
||||
for automatic translation to a variety of formats suitable for input
|
||||
to text formatters. A copy made in an otherwise Transparent file
|
||||
format whose markup, or absence of markup, has been arranged to thwart
|
||||
or discourage subsequent modification by readers is not Transparent.
|
||||
An image format is not Transparent if used for any substantial amount
|
||||
of text. A copy that is not “Transparent” is called “Opaque”.
|
||||
|
||||
<p>Examples of suitable formats for Transparent copies include plain
|
||||
<span class="sc">ascii</span> without markup, Texinfo input format, LaTeX input
|
||||
format, <acronym>SGML</acronym> or <acronym>XML</acronym> using a publicly available
|
||||
<acronym>DTD</acronym>, and standard-conforming simple <acronym>HTML</acronym>,
|
||||
PostScript or <acronym>PDF</acronym> designed for human modification. Examples
|
||||
of transparent image formats include <acronym>PNG</acronym>, <acronym>XCF</acronym> and
|
||||
<acronym>JPG</acronym>. Opaque formats include proprietary formats that can be
|
||||
read and edited only by proprietary word processors, <acronym>SGML</acronym> or
|
||||
<acronym>XML</acronym> for which the <acronym>DTD</acronym> and/or processing tools are
|
||||
not generally available, and the machine-generated <acronym>HTML</acronym>,
|
||||
PostScript or <acronym>PDF</acronym> produced by some word processors for
|
||||
output purposes only.
|
||||
|
||||
<p>The “Title Page” means, for a printed book, the title page itself,
|
||||
plus such following pages as are needed to hold, legibly, the material
|
||||
this License requires to appear in the title page. For works in
|
||||
formats which do not have any title page as such, “Title Page” means
|
||||
the text near the most prominent appearance of the work's title,
|
||||
preceding the beginning of the body of the text.
|
||||
|
||||
<p>The “publisher” means any person or entity that distributes copies
|
||||
of the Document to the public.
|
||||
|
||||
<p>A section “Entitled XYZ” means a named subunit of the Document whose
|
||||
title either is precisely XYZ or contains XYZ in parentheses following
|
||||
text that translates XYZ in another language. (Here XYZ stands for a
|
||||
specific section name mentioned below, such as “Acknowledgements”,
|
||||
“Dedications”, “Endorsements”, or “History”.) To “Preserve the Title”
|
||||
of such a section when you modify the Document means that it remains a
|
||||
section “Entitled XYZ” according to this definition.
|
||||
|
||||
<p>The Document may include Warranty Disclaimers next to the notice which
|
||||
states that this License applies to the Document. These Warranty
|
||||
Disclaimers are considered to be included by reference in this
|
||||
License, but only as regards disclaiming warranties: any other
|
||||
implication that these Warranty Disclaimers may have is void and has
|
||||
no effect on the meaning of this License.
|
||||
|
||||
<li>VERBATIM COPYING
|
||||
|
||||
<p>You may copy and distribute the Document in any medium, either
|
||||
commercially or noncommercially, provided that this License, the
|
||||
copyright notices, and the license notice saying this License applies
|
||||
to the Document are reproduced in all copies, and that you add no other
|
||||
conditions whatsoever to those of this License. You may not use
|
||||
technical measures to obstruct or control the reading or further
|
||||
copying of the copies you make or distribute. However, you may accept
|
||||
compensation in exchange for copies. If you distribute a large enough
|
||||
number of copies you must also follow the conditions in section 3.
|
||||
|
||||
<p>You may also lend copies, under the same conditions stated above, and
|
||||
you may publicly display copies.
|
||||
|
||||
<li>COPYING IN QUANTITY
|
||||
|
||||
<p>If you publish printed copies (or copies in media that commonly have
|
||||
printed covers) of the Document, numbering more than 100, and the
|
||||
Document's license notice requires Cover Texts, you must enclose the
|
||||
copies in covers that carry, clearly and legibly, all these Cover
|
||||
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
|
||||
the back cover. Both covers must also clearly and legibly identify
|
||||
you as the publisher of these copies. The front cover must present
|
||||
the full title with all words of the title equally prominent and
|
||||
visible. You may add other material on the covers in addition.
|
||||
Copying with changes limited to the covers, as long as they preserve
|
||||
the title of the Document and satisfy these conditions, can be treated
|
||||
as verbatim copying in other respects.
|
||||
|
||||
<p>If the required texts for either cover are too voluminous to fit
|
||||
legibly, you should put the first ones listed (as many as fit
|
||||
reasonably) on the actual cover, and continue the rest onto adjacent
|
||||
pages.
|
||||
|
||||
<p>If you publish or distribute Opaque copies of the Document numbering
|
||||
more than 100, you must either include a machine-readable Transparent
|
||||
copy along with each Opaque copy, or state in or with each Opaque copy
|
||||
a computer-network location from which the general network-using
|
||||
public has access to download using public-standard network protocols
|
||||
a complete Transparent copy of the Document, free of added material.
|
||||
If you use the latter option, you must take reasonably prudent steps,
|
||||
when you begin distribution of Opaque copies in quantity, to ensure
|
||||
that this Transparent copy will remain thus accessible at the stated
|
||||
location until at least one year after the last time you distribute an
|
||||
Opaque copy (directly or through your agents or retailers) of that
|
||||
edition to the public.
|
||||
|
||||
<p>It is requested, but not required, that you contact the authors of the
|
||||
Document well before redistributing any large number of copies, to give
|
||||
them a chance to provide you with an updated version of the Document.
|
||||
|
||||
<li>MODIFICATIONS
|
||||
|
||||
<p>You may copy and distribute a Modified Version of the Document under
|
||||
the conditions of sections 2 and 3 above, provided that you release
|
||||
the Modified Version under precisely this License, with the Modified
|
||||
Version filling the role of the Document, thus licensing distribution
|
||||
and modification of the Modified Version to whoever possesses a copy
|
||||
of it. In addition, you must do these things in the Modified Version:
|
||||
|
||||
<ol type=A start=1>
|
||||
<li>Use in the Title Page (and on the covers, if any) a title distinct
|
||||
from that of the Document, and from those of previous versions
|
||||
(which should, if there were any, be listed in the History section
|
||||
of the Document). You may use the same title as a previous version
|
||||
if the original publisher of that version gives permission.
|
||||
|
||||
<li>List on the Title Page, as authors, one or more persons or entities
|
||||
responsible for authorship of the modifications in the Modified
|
||||
Version, together with at least five of the principal authors of the
|
||||
Document (all of its principal authors, if it has fewer than five),
|
||||
unless they release you from this requirement.
|
||||
|
||||
<li>State on the Title page the name of the publisher of the
|
||||
Modified Version, as the publisher.
|
||||
|
||||
<li>Preserve all the copyright notices of the Document.
|
||||
|
||||
<li>Add an appropriate copyright notice for your modifications
|
||||
adjacent to the other copyright notices.
|
||||
|
||||
<li>Include, immediately after the copyright notices, a license notice
|
||||
giving the public permission to use the Modified Version under the
|
||||
terms of this License, in the form shown in the Addendum below.
|
||||
|
||||
<li>Preserve in that license notice the full lists of Invariant Sections
|
||||
and required Cover Texts given in the Document's license notice.
|
||||
|
||||
<li>Include an unaltered copy of this License.
|
||||
|
||||
<li>Preserve the section Entitled “History”, Preserve its Title, and add
|
||||
to it an item stating at least the title, year, new authors, and
|
||||
publisher of the Modified Version as given on the Title Page. If
|
||||
there is no section Entitled “History” in the Document, create one
|
||||
stating the title, year, authors, and publisher of the Document as
|
||||
given on its Title Page, then add an item describing the Modified
|
||||
Version as stated in the previous sentence.
|
||||
|
||||
<li>Preserve the network location, if any, given in the Document for
|
||||
public access to a Transparent copy of the Document, and likewise
|
||||
the network locations given in the Document for previous versions
|
||||
it was based on. These may be placed in the “History” section.
|
||||
You may omit a network location for a work that was published at
|
||||
least four years before the Document itself, or if the original
|
||||
publisher of the version it refers to gives permission.
|
||||
|
||||
<li>For any section Entitled “Acknowledgements” or “Dedications”, Preserve
|
||||
the Title of the section, and preserve in the section all the
|
||||
substance and tone of each of the contributor acknowledgements and/or
|
||||
dedications given therein.
|
||||
|
||||
<li>Preserve all the Invariant Sections of the Document,
|
||||
unaltered in their text and in their titles. Section numbers
|
||||
or the equivalent are not considered part of the section titles.
|
||||
|
||||
<li>Delete any section Entitled “Endorsements”. Such a section
|
||||
may not be included in the Modified Version.
|
||||
|
||||
<li>Do not retitle any existing section to be Entitled “Endorsements” or
|
||||
to conflict in title with any Invariant Section.
|
||||
|
||||
<li>Preserve any Warranty Disclaimers.
|
||||
</ol>
|
||||
|
||||
<p>If the Modified Version includes new front-matter sections or
|
||||
appendices that qualify as Secondary Sections and contain no material
|
||||
copied from the Document, you may at your option designate some or all
|
||||
of these sections as invariant. To do this, add their titles to the
|
||||
list of Invariant Sections in the Modified Version's license notice.
|
||||
These titles must be distinct from any other section titles.
|
||||
|
||||
<p>You may add a section Entitled “Endorsements”, provided it contains
|
||||
nothing but endorsements of your Modified Version by various
|
||||
parties—for example, statements of peer review or that the text has
|
||||
been approved by an organization as the authoritative definition of a
|
||||
standard.
|
||||
|
||||
<p>You may add a passage of up to five words as a Front-Cover Text, and a
|
||||
passage of up to 25 words as a Back-Cover Text, to the end of the list
|
||||
of Cover Texts in the Modified Version. Only one passage of
|
||||
Front-Cover Text and one of Back-Cover Text may be added by (or
|
||||
through arrangements made by) any one entity. If the Document already
|
||||
includes a cover text for the same cover, previously added by you or
|
||||
by arrangement made by the same entity you are acting on behalf of,
|
||||
you may not add another; but you may replace the old one, on explicit
|
||||
permission from the previous publisher that added the old one.
|
||||
|
||||
<p>The author(s) and publisher(s) of the Document do not by this License
|
||||
give permission to use their names for publicity for or to assert or
|
||||
imply endorsement of any Modified Version.
|
||||
|
||||
<li>COMBINING DOCUMENTS
|
||||
|
||||
<p>You may combine the Document with other documents released under this
|
||||
License, under the terms defined in section 4 above for modified
|
||||
versions, provided that you include in the combination all of the
|
||||
Invariant Sections of all of the original documents, unmodified, and
|
||||
list them all as Invariant Sections of your combined work in its
|
||||
license notice, and that you preserve all their Warranty Disclaimers.
|
||||
|
||||
<p>The combined work need only contain one copy of this License, and
|
||||
multiple identical Invariant Sections may be replaced with a single
|
||||
copy. If there are multiple Invariant Sections with the same name but
|
||||
different contents, make the title of each such section unique by
|
||||
adding at the end of it, in parentheses, the name of the original
|
||||
author or publisher of that section if known, or else a unique number.
|
||||
Make the same adjustment to the section titles in the list of
|
||||
Invariant Sections in the license notice of the combined work.
|
||||
|
||||
<p>In the combination, you must combine any sections Entitled “History”
|
||||
in the various original documents, forming one section Entitled
|
||||
“History”; likewise combine any sections Entitled “Acknowledgements”,
|
||||
and any sections Entitled “Dedications”. You must delete all
|
||||
sections Entitled “Endorsements.”
|
||||
|
||||
<li>COLLECTIONS OF DOCUMENTS
|
||||
|
||||
<p>You may make a collection consisting of the Document and other documents
|
||||
released under this License, and replace the individual copies of this
|
||||
License in the various documents with a single copy that is included in
|
||||
the collection, provided that you follow the rules of this License for
|
||||
verbatim copying of each of the documents in all other respects.
|
||||
|
||||
<p>You may extract a single document from such a collection, and distribute
|
||||
it individually under this License, provided you insert a copy of this
|
||||
License into the extracted document, and follow this License in all
|
||||
other respects regarding verbatim copying of that document.
|
||||
|
||||
<li>AGGREGATION WITH INDEPENDENT WORKS
|
||||
|
||||
<p>A compilation of the Document or its derivatives with other separate
|
||||
and independent documents or works, in or on a volume of a storage or
|
||||
distribution medium, is called an “aggregate” if the copyright
|
||||
resulting from the compilation is not used to limit the legal rights
|
||||
of the compilation's users beyond what the individual works permit.
|
||||
When the Document is included in an aggregate, this License does not
|
||||
apply to the other works in the aggregate which are not themselves
|
||||
derivative works of the Document.
|
||||
|
||||
<p>If the Cover Text requirement of section 3 is applicable to these
|
||||
copies of the Document, then if the Document is less than one half of
|
||||
the entire aggregate, the Document's Cover Texts may be placed on
|
||||
covers that bracket the Document within the aggregate, or the
|
||||
electronic equivalent of covers if the Document is in electronic form.
|
||||
Otherwise they must appear on printed covers that bracket the whole
|
||||
aggregate.
|
||||
|
||||
<li>TRANSLATION
|
||||
|
||||
<p>Translation is considered a kind of modification, so you may
|
||||
distribute translations of the Document under the terms of section 4.
|
||||
Replacing Invariant Sections with translations requires special
|
||||
permission from their copyright holders, but you may include
|
||||
translations of some or all Invariant Sections in addition to the
|
||||
original versions of these Invariant Sections. You may include a
|
||||
translation of this License, and all the license notices in the
|
||||
Document, and any Warranty Disclaimers, provided that you also include
|
||||
the original English version of this License and the original versions
|
||||
of those notices and disclaimers. In case of a disagreement between
|
||||
the translation and the original version of this License or a notice
|
||||
or disclaimer, the original version will prevail.
|
||||
|
||||
<p>If a section in the Document is Entitled “Acknowledgements”,
|
||||
“Dedications”, or “History”, the requirement (section 4) to Preserve
|
||||
its Title (section 1) will typically require changing the actual
|
||||
title.
|
||||
|
||||
<li>TERMINATION
|
||||
|
||||
<p>You may not copy, modify, sublicense, or distribute the Document
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense, or distribute it is void, and
|
||||
will automatically terminate your rights under this License.
|
||||
|
||||
<p>However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
|
||||
<p>Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
<p>Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, receipt of a copy of some or all of the same material does
|
||||
not give you any rights to use it.
|
||||
|
||||
<li>FUTURE REVISIONS OF THIS LICENSE
|
||||
|
||||
<p>The Free Software Foundation may publish new, revised versions
|
||||
of the GNU Free Documentation License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns. See
|
||||
<a href="http://www.gnu.org/copyleft/">http://www.gnu.org/copyleft/</a>.
|
||||
|
||||
<p>Each version of the License is given a distinguishing version number.
|
||||
If the Document specifies that a particular numbered version of this
|
||||
License “or any later version” applies to it, you have the option of
|
||||
following the terms and conditions either of that specified version or
|
||||
of any later version that has been published (not as a draft) by the
|
||||
Free Software Foundation. If the Document does not specify a version
|
||||
number of this License, you may choose any version ever published (not
|
||||
as a draft) by the Free Software Foundation. If the Document
|
||||
specifies that a proxy can decide which future versions of this
|
||||
License can be used, that proxy's public statement of acceptance of a
|
||||
version permanently authorizes you to choose that version for the
|
||||
Document.
|
||||
|
||||
<li>RELICENSING
|
||||
|
||||
<p>“Massive Multiauthor Collaboration Site” (or “MMC Site”) means any
|
||||
World Wide Web server that publishes copyrightable works and also
|
||||
provides prominent facilities for anybody to edit those works. A
|
||||
public wiki that anybody can edit is an example of such a server. A
|
||||
“Massive Multiauthor Collaboration” (or “MMC”) contained in the
|
||||
site means any set of copyrightable works thus published on the MMC
|
||||
site.
|
||||
|
||||
<p>“CC-BY-SA” means the Creative Commons Attribution-Share Alike 3.0
|
||||
license published by Creative Commons Corporation, a not-for-profit
|
||||
corporation with a principal place of business in San Francisco,
|
||||
California, as well as future copyleft versions of that license
|
||||
published by that same organization.
|
||||
|
||||
<p>“Incorporate” means to publish or republish a Document, in whole or
|
||||
in part, as part of another Document.
|
||||
|
||||
<p>An MMC is “eligible for relicensing” if it is licensed under this
|
||||
License, and if all works that were first published under this License
|
||||
somewhere other than this MMC, and subsequently incorporated in whole
|
||||
or in part into the MMC, (1) had no cover texts or invariant sections,
|
||||
and (2) were thus incorporated prior to November 1, 2008.
|
||||
|
||||
<p>The operator of an MMC Site may republish an MMC contained in the site
|
||||
under CC-BY-SA on the same site at any time before August 1, 2009,
|
||||
provided the MMC is eligible for relicensing.
|
||||
|
||||
</ol>
|
||||
|
||||
<h3 class="heading">ADDENDUM: How to use this License for your documents</h3>
|
||||
|
||||
<p>To use this License in a document you have written, include a copy of
|
||||
the License in the document and put the following copyright and
|
||||
license notices just after the title page:
|
||||
|
||||
<pre class="smallexample"> Copyright (C) <var>year</var> <var>your name</var>.
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.
|
||||
</pre>
|
||||
<p>If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
|
||||
replace the “with<small class="dots">...</small>Texts.” line with this:
|
||||
|
||||
<pre class="smallexample"> with the Invariant Sections being <var>list their titles</var>, with
|
||||
the Front-Cover Texts being <var>list</var>, and with the Back-Cover Texts
|
||||
being <var>list</var>.
|
||||
</pre>
|
||||
<p>If you have Invariant Sections without Cover Texts, or some other
|
||||
combination of the three, merge those two alternatives to suit the
|
||||
situation.
|
||||
|
||||
<p>If your document contains nontrivial examples of program code, we
|
||||
recommend releasing these examples in parallel under your choice of
|
||||
free software license, such as the GNU General Public License,
|
||||
to permit their use in free software.
|
||||
|
||||
<!-- Local Variables: -->
|
||||
<!-- ispell-local-pdict: "ispell-dict" -->
|
||||
<!-- End: -->
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Invalidation - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Breakpoint-Info.html#Breakpoint-Info" title="Breakpoint Info">
|
||||
<link rel="next" href="Annotations-for-Running.html#Annotations-for-Running" title="Annotations for Running">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Invalidation"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Annotations-for-Running.html#Annotations-for-Running">Annotations for Running</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Breakpoint-Info.html#Breakpoint-Info">Breakpoint Info</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">11 Invalidation Notices</h2>
|
||||
|
||||
<p><a name="index-annotations-for-invalidation-messages-70"></a>The following annotations say that certain pieces of state may have
|
||||
changed.
|
||||
|
||||
|
||||
<a name="index-frames_002dinvalid-71"></a>
|
||||
<dl><dt><code>^Z^Zframes-invalid</code><dd>
|
||||
The frames (for example, output from the <code>backtrace</code> command) may
|
||||
have changed.
|
||||
|
||||
<p><a name="index-breakpoints_002dinvalid-72"></a><br><dt><code>^Z^Zbreakpoints-invalid</code><dd>
|
||||
The breakpoints may have changed. For example, the user just added or
|
||||
deleted a breakpoint.
|
||||
</dl>
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,105 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Limitations - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Annotations-Overview.html#Annotations-Overview" title="Annotations Overview">
|
||||
<link rel="next" href="Migrating-to-GDB_002fMI.html#Migrating-to-GDB_002fMI" title="Migrating to GDB/MI">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Limitations"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Migrating-to-GDB_002fMI.html#Migrating-to-GDB_002fMI">Migrating to GDB/MI</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Annotations-Overview.html#Annotations-Overview">Annotations Overview</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">2 Limitations of the Annotation Interface</h2>
|
||||
|
||||
<p>The level two annotations mechanism is known to have a number of
|
||||
technical and architectural limitations. As a consequence, in 2001,
|
||||
with the release of <span class="sc">gdb</span> 5.1 and the addition of <span class="sc">gdb/mi</span>,
|
||||
the annotation interface was marked as deprecated.
|
||||
|
||||
<p>This chapter discusses the known problems.
|
||||
|
||||
<h3 class="section">2.1 Dependant on <span class="sc">cli</span> output</h3>
|
||||
|
||||
<p>The annotation interface works by interspersing markups with
|
||||
<span class="sc">gdb</span> normal command-line interpreter output. Unfortunately, this
|
||||
makes the annotation client dependant on not just the annotations, but
|
||||
also the <span class="sc">cli</span> output. This is because the client is forced to
|
||||
assume that specific <span class="sc">gdb</span> commands provide specific information.
|
||||
Any change to <span class="sc">gdb</span>'s <span class="sc">cli</span> output modifies or removes that
|
||||
information and, consequently, likely breaks the client.
|
||||
|
||||
<p>Since the <span class="sc">gdb/mi</span> output is independent of the <span class="sc">cli</span>, it does not
|
||||
have this problem.
|
||||
|
||||
<h3 class="section">2.2 Scalability</h3>
|
||||
|
||||
<p>The annotation interface relies on value annotations (see <a href="Value-Annotations.html#Value-Annotations">Value Annotations</a>) and the display mechanism as a way of obtaining up-to-date
|
||||
value information. These mechanisms are not scalable.
|
||||
|
||||
<p>In a graphical environment, where many values can be displayed
|
||||
simultaneously, a serious performance problem occurs when the client
|
||||
tries to first extract from <span class="sc">gdb</span>, and then re-display, all those
|
||||
values. The client should instead only request and update the values
|
||||
that changed.
|
||||
|
||||
<p>The <span class="sc">gdb/mi</span> Variable Objects provide just that mechanism.
|
||||
|
||||
<h3 class="section">2.3 Correctness</h3>
|
||||
|
||||
<p>The annotation interface assumes that a variable's value can only be
|
||||
changed when the target is running. This assumption is not correct. A
|
||||
single assignment to a single variable can result in the entire target,
|
||||
and all displayed values, needing an update.
|
||||
|
||||
<p>The <span class="sc">gdb/mi</span> Variable Objects include a mechanism for efficiently
|
||||
reporting such changes.
|
||||
|
||||
<h3 class="section">2.4 Reliability</h3>
|
||||
|
||||
<p>The <span class="sc">gdb/mi</span> interface includes a dedicated test directory
|
||||
(<samp><span class="file">gdb/gdb.mi</span></samp>), and any addition or fix to <span class="sc">gdb/mi</span> must include
|
||||
testsuite changes.
|
||||
|
||||
<h3 class="section">2.5 Maintainability</h3>
|
||||
|
||||
<p>The annotation mechanism was implemented by interspersing <span class="sc">cli</span> print
|
||||
statements with various annotations. As a consequence, any <span class="sc">cli</span>
|
||||
output change can alter the annotation output.
|
||||
|
||||
<p>Since the <span class="sc">gdb/mi</span> output is independent of the <span class="sc">cli</span>, and the
|
||||
<span class="sc">gdb/mi</span> is increasingly implemented independent of the <span class="sc">cli</span>
|
||||
code, its long term maintenance is much easier.
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Migrating to GDB/MI - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Limitations.html#Limitations" title="Limitations">
|
||||
<link rel="next" href="Server-Prefix.html#Server-Prefix" title="Server Prefix">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Migrating-to-GDB%2fMI"></a>
|
||||
<a name="Migrating-to-GDB_002fMI"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Server-Prefix.html#Server-Prefix">Server Prefix</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Limitations.html#Limitations">Limitations</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">3 Migrating to <span class="sc">gdb/mi</span></h2>
|
||||
|
||||
<p>By using the ‘<samp><span class="samp">interp mi</span></samp>’ command, it is possible for annotation
|
||||
clients to invoke <span class="sc">gdb/mi</span> commands, and hence access the
|
||||
<span class="sc">gdb/mi</span>. By doing this, existing annotation clients have a
|
||||
migration path from this obsolete interface to <span class="sc">gdb/mi</span>.
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Multi-threaded Apps - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Source-Annotations.html#Source-Annotations" title="Source Annotations">
|
||||
<link rel="next" href="GNU-Free-Documentation-License.html#GNU-Free-Documentation-License" title="GNU Free Documentation License">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Multi-threaded-Apps"></a>
|
||||
<a name="Multi_002dthreaded-Apps"></a>
|
||||
Next: <a rel="next" accesskey="n" href="GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">GNU Free Documentation License</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Source-Annotations.html#Source-Annotations">Source Annotations</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">14 Multi-threaded Applications</h2>
|
||||
|
||||
<p><a name="index-annotations-for-multi_002dthreaded-apps-87"></a>
|
||||
The following annotations report thread related changes of state.
|
||||
|
||||
|
||||
<a name="index-new_002dthread_0040r_007b_002c-annotation_007d-88"></a>
|
||||
<dl><dt><code>^Z^Znew-thread</code><dd>
|
||||
This annotation is issued once for each thread that is created apart from
|
||||
the main thread, which is not reported.
|
||||
|
||||
<p><a name="index-thread_002dchanged_0040r_007b_002c-annotation_007d-89"></a><br><dt><code>^Z^Zthread-changed</code><dd>
|
||||
The selected thread has changed. This may occur at the request of the
|
||||
user with the <code>thread</code> command, or as a result of execution,
|
||||
e.g., another thread hits a breakpoint.
|
||||
|
||||
</dl>
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Prompting - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Displays.html#Displays" title="Displays">
|
||||
<link rel="next" href="Errors.html#Errors" title="Errors">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Prompting"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Errors.html#Errors">Errors</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Displays.html#Displays">Displays</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">8 Annotation for <span class="sc">gdb</span> Input</h2>
|
||||
|
||||
<p><a name="index-annotations-for-prompts-44"></a>When <span class="sc">gdb</span> prompts for input, it annotates this fact so it is possible
|
||||
to know when to send output, when the output from a given command is
|
||||
over, etc.
|
||||
|
||||
<p>Different kinds of input each have a different <dfn>input type</dfn>. Each
|
||||
input type has three annotations: a <code>pre-</code> annotation, which
|
||||
denotes the beginning of any prompt which is being output, a plain
|
||||
annotation, which denotes the end of the prompt, and then a <code>post-</code>
|
||||
annotation which denotes the end of any echo which may (or may not) be
|
||||
associated with the input. For example, the <code>prompt</code> input type
|
||||
features the following annotations:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zpre-prompt
|
||||
^Z^Zprompt
|
||||
^Z^Zpost-prompt
|
||||
</pre>
|
||||
<p>The input types are
|
||||
|
||||
|
||||
<a name="index-pre_002dprompt-45"></a>
|
||||
<a name="index-prompt-46"></a>
|
||||
<a name="index-post_002dprompt-47"></a>
|
||||
<dl><dt><code>prompt</code><dd>When <span class="sc">gdb</span> is prompting for a command (the main <span class="sc">gdb</span> prompt).
|
||||
|
||||
<p><a name="index-pre_002dcommands-48"></a><a name="index-commands-49"></a><a name="index-post_002dcommands-50"></a><br><dt><code>commands</code><dd>When <span class="sc">gdb</span> prompts for a set of commands, like in the <code>commands</code>
|
||||
command. The annotations are repeated for each command which is input.
|
||||
|
||||
<p><a name="index-pre_002doverload_002dchoice-51"></a><a name="index-overload_002dchoice-52"></a><a name="index-post_002doverload_002dchoice-53"></a><br><dt><code>overload-choice</code><dd>When <span class="sc">gdb</span> wants the user to select between various overloaded functions.
|
||||
|
||||
<p><a name="index-pre_002dquery-54"></a><a name="index-query-55"></a><a name="index-post_002dquery-56"></a><br><dt><code>query</code><dd>When <span class="sc">gdb</span> wants the user to confirm a potentially dangerous operation.
|
||||
|
||||
<p><a name="index-pre_002dprompt_002dfor_002dcontinue-57"></a><a name="index-prompt_002dfor_002dcontinue-58"></a><a name="index-post_002dprompt_002dfor_002dcontinue-59"></a><br><dt><code>prompt-for-continue</code><dd>When <span class="sc">gdb</span> is asking the user to press return to continue. Note: Don't
|
||||
expect this to work well; instead use <code>set height 0</code> to disable
|
||||
prompting. This is because the counting of lines is buggy in the
|
||||
presence of annotations.
|
||||
</dl>
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Server Prefix - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Migrating-to-GDB_002fMI.html#Migrating-to-GDB_002fMI" title="Migrating to GDB/MI">
|
||||
<link rel="next" href="Value-Annotations.html#Value-Annotations" title="Value Annotations">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Server-Prefix"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Value-Annotations.html#Value-Annotations">Value Annotations</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Migrating-to-GDB_002fMI.html#Migrating-to-GDB_002fMI">Migrating to GDB/MI</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">4 The Server Prefix</h2>
|
||||
|
||||
<p><a name="index-server-prefix-for-annotations-2"></a>
|
||||
To issue a command to <span class="sc">gdb</span> without affecting certain aspects of
|
||||
the state which is seen by users, prefix it with ‘<samp><span class="samp">server </span></samp>’. This
|
||||
means that this command will not affect the command history, nor will it
|
||||
affect <span class="sc">gdb</span>'s notion of which command to repeat if <RET> is
|
||||
pressed on a line by itself.
|
||||
|
||||
<p>The server prefix does not affect the recording of values into the value
|
||||
history; to print a value without recording it into the value history,
|
||||
use the <code>output</code> command instead of the <code>print</code> command.
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Source Annotations - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Annotations-for-Running.html#Annotations-for-Running" title="Annotations for Running">
|
||||
<link rel="next" href="Multi_002dthreaded-Apps.html#Multi_002dthreaded-Apps" title="Multi-threaded Apps">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Source-Annotations"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Multi_002dthreaded-Apps.html#Multi_002dthreaded-Apps">Multi-threaded Apps</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Annotations-for-Running.html#Annotations-for-Running">Annotations for Running</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">13 Displaying Source</h2>
|
||||
|
||||
<p><a name="index-annotations-for-source-display-85"></a>
|
||||
<a name="index-source-86"></a>The following annotation is used instead of displaying source code:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zsource <var>filename</var>:<var>line</var>:<var>character</var>:<var>middle</var>:<var>addr</var>
|
||||
</pre>
|
||||
<p>where <var>filename</var> is an absolute file name indicating which source
|
||||
file, <var>line</var> is the line number within that file (where 1 is the
|
||||
first line in the file), <var>character</var> is the character position
|
||||
within the file (where 0 is the first character in the file) (for most
|
||||
debug formats this will necessarily point to the beginning of a line),
|
||||
<var>middle</var> is ‘<samp><span class="samp">middle</span></samp>’ if <var>addr</var> is in the middle of the
|
||||
line, or ‘<samp><span class="samp">beg</span></samp>’ if <var>addr</var> is at the beginning of the line, and
|
||||
<var>addr</var> is the address in the target program associated with the
|
||||
source which is being displayed. <var>addr</var> is in the form ‘<samp><span class="samp">0x</span></samp>’
|
||||
followed by one or more lowercase hex digits (note that this does not
|
||||
depend on the language).
|
||||
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Value Annotations - GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="index.html#Top">
|
||||
<link rel="prev" href="Server-Prefix.html#Server-Prefix" title="Server Prefix">
|
||||
<link rel="next" href="Frame-Annotations.html#Frame-Annotations" title="Frame Annotations">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled ``GNU
|
||||
Free Documentation License''.-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Value-Annotations"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Frame-Annotations.html#Frame-Annotations">Frame Annotations</a>,
|
||||
Previous: <a rel="previous" accesskey="p" href="Server-Prefix.html#Server-Prefix">Server Prefix</a>,
|
||||
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="chapter">5 Values</h2>
|
||||
|
||||
<p><em>Value Annotations have been removed. </em><span class="sc">gdb/mi</span><em> instead provides
|
||||
Variable Objects.</em>
|
||||
|
||||
<p><a name="index-annotations-for-values-3"></a>When a value is printed in various contexts, <span class="sc">gdb</span> uses
|
||||
annotations to delimit the value from the surrounding text.
|
||||
|
||||
<p><a name="index-value_002dhistory_002dbegin-4"></a><a name="index-value_002dhistory_002dvalue-5"></a><a name="index-value_002dhistory_002dend-6"></a>If a value is printed using <code>print</code> and added to the value history,
|
||||
the annotation looks like
|
||||
|
||||
<pre class="smallexample"> ^Z^Zvalue-history-begin <var>history-number</var> <var>value-flags</var>
|
||||
<var>history-string</var>
|
||||
^Z^Zvalue-history-value
|
||||
<var>the-value</var>
|
||||
^Z^Zvalue-history-end
|
||||
</pre>
|
||||
<p class="noindent">where <var>history-number</var> is the number it is getting in the value
|
||||
history, <var>history-string</var> is a string, such as ‘<samp><span class="samp">$5 = </span></samp>’, which
|
||||
introduces the value to the user, <var>the-value</var> is the output
|
||||
corresponding to the value itself, and <var>value-flags</var> is ‘<samp><span class="samp">*</span></samp>’ for
|
||||
a value which can be dereferenced and ‘<samp><span class="samp">-</span></samp>’ for a value which cannot.
|
||||
|
||||
<p><a name="index-value_002dbegin-7"></a><a name="index-value_002dend-8"></a>If the value is not added to the value history (it is an invalid float
|
||||
or it is printed with the <code>output</code> command), the annotation is similar:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zvalue-begin <var>value-flags</var>
|
||||
<var>the-value</var>
|
||||
^Z^Zvalue-end
|
||||
</pre>
|
||||
<p><a name="index-arg_002dbegin-9"></a><a name="index-arg_002dname_002dend-10"></a><a name="index-arg_002dvalue-11"></a><a name="index-arg_002dend-12"></a>When <span class="sc">gdb</span> prints an argument to a function (for example, in the output
|
||||
from the <code>backtrace</code> command), it annotates it as follows:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zarg-begin
|
||||
<var>argument-name</var>
|
||||
^Z^Zarg-name-end
|
||||
<var>separator-string</var>
|
||||
^Z^Zarg-value <var>value-flags</var>
|
||||
<var>the-value</var>
|
||||
^Z^Zarg-end
|
||||
</pre>
|
||||
<p class="noindent">where <var>argument-name</var> is the name of the argument,
|
||||
<var>separator-string</var> is text which separates the name from the value
|
||||
for the user's benefit (such as ‘<samp><span class="samp">=</span></samp>’), and <var>value-flags</var> and
|
||||
<var>the-value</var> have the same meanings as in a
|
||||
<code>value-history-begin</code> annotation.
|
||||
|
||||
<p><a name="index-field_002dbegin-13"></a><a name="index-field_002dname_002dend-14"></a><a name="index-field_002dvalue-15"></a><a name="index-field_002dend-16"></a>When printing a structure, <span class="sc">gdb</span> annotates it as follows:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zfield-begin <var>value-flags</var>
|
||||
<var>field-name</var>
|
||||
^Z^Zfield-name-end
|
||||
<var>separator-string</var>
|
||||
^Z^Zfield-value
|
||||
<var>the-value</var>
|
||||
^Z^Zfield-end
|
||||
</pre>
|
||||
<p class="noindent">where <var>field-name</var> is the name of the field, <var>separator-string</var>
|
||||
is text which separates the name from the value for the user's benefit
|
||||
(such as ‘<samp><span class="samp">=</span></samp>’), and <var>value-flags</var> and <var>the-value</var> have the
|
||||
same meanings as in a <code>value-history-begin</code> annotation.
|
||||
|
||||
<p>When printing an array, <span class="sc">gdb</span> annotates it as follows:
|
||||
|
||||
<pre class="smallexample"> ^Z^Zarray-section-begin <var>array-index</var> <var>value-flags</var>
|
||||
</pre>
|
||||
<p class="noindent">where <var>array-index</var> is the index of the first element being
|
||||
annotated and <var>value-flags</var> has the same meaning as in a
|
||||
<code>value-history-begin</code> annotation. This is followed by any number
|
||||
of elements, where is element can be either a single element:
|
||||
|
||||
<p><a name="index-elt-17"></a>
|
||||
<pre class="smallexample"> ‘<samp><span class="samp">,</span></samp>’ <var>whitespace</var> ; <span class="roman">omitted for the first element</span>
|
||||
<var>the-value</var>
|
||||
^Z^Zelt
|
||||
</pre>
|
||||
<p>or a repeated element
|
||||
|
||||
<p><a name="index-elt_002drep-18"></a><a name="index-elt_002drep_002dend-19"></a>
|
||||
<pre class="smallexample"> ‘<samp><span class="samp">,</span></samp>’ <var>whitespace</var> ; <span class="roman">omitted for the first element</span>
|
||||
<var>the-value</var>
|
||||
^Z^Zelt-rep <var>number-of-repetitions</var>
|
||||
<var>repetition-string</var>
|
||||
^Z^Zelt-rep-end
|
||||
</pre>
|
||||
<p>In both cases, <var>the-value</var> is the output for the value of the
|
||||
element and <var>whitespace</var> can contain spaces, tabs, and newlines. In
|
||||
the repeated case, <var>number-of-repetitions</var> is the number of
|
||||
consecutive array elements which contain that value, and
|
||||
<var>repetition-string</var> is a string which is designed to convey to the
|
||||
user that repetition is being depicted.
|
||||
|
||||
<p><a name="index-array_002dsection_002dend-20"></a>Once all the array elements have been output, the array annotation is
|
||||
ended with
|
||||
|
||||
<pre class="smallexample"> ^Z^Zarray-section-end
|
||||
</pre>
|
||||
</body></html>
|
||||
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>GDB's Obsolete Annotations</title>
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="description" content="GDB's Obsolete Annotations">
|
||||
<meta name="generator" content="makeinfo 4.11">
|
||||
<link title="Top" rel="start" href="#Top">
|
||||
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||||
<!--
|
||||
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled "GNU
|
||||
Free Documentation License".-->
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<style type="text/css"><!--
|
||||
pre.display { font-family:inherit }
|
||||
pre.format { font-family:inherit }
|
||||
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||||
pre.smallformat { font-family:inherit; font-size:smaller }
|
||||
pre.smallexample { font-size:smaller }
|
||||
pre.smalllisp { font-size:smaller }
|
||||
span.sc { font-variant:small-caps }
|
||||
span.roman { font-family:serif; font-weight:normal; }
|
||||
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||||
--></style>
|
||||
</head>
|
||||
<body>
|
||||
This file documents <span class="sc">gdb</span>'s obsolete annotations.
|
||||
|
||||
<p>Copyright © 1994-2013 Free Software Foundation, Inc.
|
||||
|
||||
<p>Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||||
any later version published by the Free Software Foundation; with no
|
||||
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
||||
Texts. A copy of the license is included in the section entitled “GNU
|
||||
Free Documentation License”.
|
||||
|
||||
<div class="node">
|
||||
<p>
|
||||
<a name="Top"></a>
|
||||
Next: <a rel="next" accesskey="n" href="Annotations-Overview.html#Annotations-Overview">Annotations Overview</a>,
|
||||
Up: <a rel="up" accesskey="u" href="../index.html#dir">(dir)</a>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<h2 class="unnumbered">GDB Annotations</h2>
|
||||
|
||||
<p>This document describes the obsolete level two annotation interface
|
||||
implemented in older <span class="sc">gdb</span> versions.
|
||||
|
||||
<ul class="menu">
|
||||
<li><a accesskey="1" href="Annotations-Overview.html#Annotations-Overview">Annotations Overview</a>: What annotations are; the general syntax.
|
||||
<li><a accesskey="2" href="Limitations.html#Limitations">Limitations</a>: Limitations of the annotation interface.
|
||||
<li><a accesskey="3" href="Migrating-to-GDB_002fMI.html#Migrating-to-GDB_002fMI">Migrating to GDB/MI</a>: Migrating to GDB/MI
|
||||
<li><a accesskey="4" href="Server-Prefix.html#Server-Prefix">Server Prefix</a>: Issuing a command without affecting user state.
|
||||
<li><a accesskey="5" href="Value-Annotations.html#Value-Annotations">Value Annotations</a>: Values are marked as such.
|
||||
<li><a accesskey="6" href="Frame-Annotations.html#Frame-Annotations">Frame Annotations</a>: Stack frames are annotated.
|
||||
<li><a accesskey="7" href="Displays.html#Displays">Displays</a>: <span class="sc">gdb</span> can be told to display something periodically.
|
||||
<li><a accesskey="8" href="Prompting.html#Prompting">Prompting</a>: Annotations marking <span class="sc">gdb</span>'s need for input.
|
||||
<li><a accesskey="9" href="Errors.html#Errors">Errors</a>: Annotations for error messages.
|
||||
<li><a href="Breakpoint-Info.html#Breakpoint-Info">Breakpoint Info</a>: Information on breakpoints.
|
||||
<li><a href="Invalidation.html#Invalidation">Invalidation</a>: Some annotations describe things now invalid.
|
||||
<li><a href="Annotations-for-Running.html#Annotations-for-Running">Annotations for Running</a>
|
||||
Whether the program is running, how it stopped, etc.
|
||||
<li><a href="Source-Annotations.html#Source-Annotations">Source Annotations</a>: Annotations describing source code.
|
||||
<li><a href="Multi_002dthreaded-Apps.html#Multi_002dthreaded-Apps">Multi-threaded Apps</a>: An annotation that reports multi-threadedness.
|
||||
|
||||
<li><a href="GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">GNU Free Documentation License</a>
|
||||
</ul>
|
||||
|
||||
<div class="contents">
|
||||
<h2>Table of Contents</h2>
|
||||
<ul>
|
||||
<li><a name="toc_Top" href="index.html#Top">GDB Annotations</a>
|
||||
<li><a name="toc_Annotations-Overview" href="Annotations-Overview.html#Annotations-Overview">1 What is an Annotation?</a>
|
||||
<li><a name="toc_Limitations" href="Limitations.html#Limitations">2 Limitations of the Annotation Interface</a>
|
||||
<ul>
|
||||
<li><a href="Limitations.html#Limitations">2.1 Dependant on <span class="sc">cli</span> output</a>
|
||||
<li><a href="Limitations.html#Limitations">2.2 Scalability</a>
|
||||
<li><a href="Limitations.html#Limitations">2.3 Correctness</a>
|
||||
<li><a href="Limitations.html#Limitations">2.4 Reliability</a>
|
||||
<li><a href="Limitations.html#Limitations">2.5 Maintainability</a>
|
||||
</li></ul>
|
||||
<li><a name="toc_Migrating-to-GDB_002fMI" href="Migrating-to-GDB_002fMI.html#Migrating-to-GDB_002fMI">3 Migrating to <span class="sc">gdb/mi</span></a>
|
||||
<li><a name="toc_Server-Prefix" href="Server-Prefix.html#Server-Prefix">4 The Server Prefix</a>
|
||||
<li><a name="toc_Value-Annotations" href="Value-Annotations.html#Value-Annotations">5 Values</a>
|
||||
<li><a name="toc_Frame-Annotations" href="Frame-Annotations.html#Frame-Annotations">6 Frames</a>
|
||||
<li><a name="toc_Displays" href="Displays.html#Displays">7 Displays</a>
|
||||
<li><a name="toc_Prompting" href="Prompting.html#Prompting">8 Annotation for <span class="sc">gdb</span> Input</a>
|
||||
<li><a name="toc_Errors" href="Errors.html#Errors">9 Errors</a>
|
||||
<li><a name="toc_Breakpoint-Info" href="Breakpoint-Info.html#Breakpoint-Info">10 Information on Breakpoints</a>
|
||||
<li><a name="toc_Invalidation" href="Invalidation.html#Invalidation">11 Invalidation Notices</a>
|
||||
<li><a name="toc_Annotations-for-Running" href="Annotations-for-Running.html#Annotations-for-Running">12 Running the Program</a>
|
||||
<li><a name="toc_Source-Annotations" href="Source-Annotations.html#Source-Annotations">13 Displaying Source</a>
|
||||
<li><a name="toc_Multi_002dthreaded-Apps" href="Multi_002dthreaded-Apps.html#Multi_002dthreaded-Apps">14 Multi-threaded Applications</a>
|
||||
<li><a name="toc_GNU-Free-Documentation-License" href="GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">Appendix A GNU Free Documentation License</a>
|
||||
</li></ul>
|
||||
</div>
|
||||
|
||||
</body></html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue