3 <title>Debugging with GDB
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Debugging with GDB">
6 <meta name=
"generator" content=
"makeinfo 4.3">
7 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home">
12 Node:
<a name=
"MIPS">MIPS
</a>,
13 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Alpha.html#Alpha">Alpha
</a>,
14 Up:
<a rel=
"up" accesskey=
"u" href=
"Architectures.html#Architectures">Architectures
</a>
18 <h4 class=
"subsection">MIPS
</h4>
20 <p>Alpha- and MIPS-based computers use an unusual stack frame, which
21 sometimes requires GDB to search backward in the object code to
22 find the beginning of a function.
24 <p>To improve response time (especially for embedded applications, where
25 GDB may be restricted to a slow serial line for this search)
26 you may want to limit the size of this search, using one of these
30 <dt><code>set heuristic-fence-post
</code><var>limit
</var><code></code>
31 <dd>Restrict GDB to examining at most
<var>limit
</var> bytes in its
32 search for the beginning of a function. A value of
<var>0</var> (the
33 default) means there is no limit. However, except for
<var>0</var>, the
34 larger the limit the more bytes
<code>heuristic-fence-post
</code> must search
35 and therefore the longer it takes to run.
37 <br><dt><code>show heuristic-fence-post
</code>
38 <dd>Display the current limit.
41 <p>These commands are available
<em>only
</em> when GDB is configured
42 for debugging programs on Alpha or MIPS processors.