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=
"TUI%20Commands">TUI Commands
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"TUI-Configuration.html#TUI%20Configuration">TUI Configuration
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"TUI-Keys.html#TUI%20Keys">TUI Keys
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"TUI.html#TUI">TUI
</a>
19 <h3 class=
"section">TUI specific commands
</h3>
21 <p>The TUI has specific commands to control the text windows.
22 These commands are always available, that is they do not depend on
23 the current terminal mode in which GDB runs. When GDB
24 is in the standard mode, using these commands will automatically switch
28 <dt><code>layout next
</code>
29 <dd>Display the next layout.
31 <br><dt><code>layout prev
</code>
32 <dd>Display the previous layout.
34 <br><dt><code>layout src
</code>
35 <dd>Display the source window only.
37 <br><dt><code>layout asm
</code>
38 <dd>Display the assembly window only.
40 <br><dt><code>layout split
</code>
41 <dd>Display the source and assembly window.
43 <br><dt><code>layout regs
</code>
44 <dd>Display the register window together with the source or assembly window.
46 <br><dt><code>focus next | prev | src | asm | regs | split
</code>
47 <dd>Set the focus to the named window.
48 This command allows to change the active window so that scrolling keys
49 can be affected to another window.
51 <br><dt><code>refresh
</code>
52 <dd>Refresh the screen. This is similar to using
<C-L
> key.
54 <br><dt><code>update
</code>
55 <dd>Update the source window and the current execution point.
57 <br><dt><code>winheight
</code><var>name
</var><code> +
</code><var>count
</var><code></code>
58 <dd><dt><code>winheight
</code><var>name
</var><code> -
</code><var>count
</var><code></code>
59 <dd>Change the height of the window
<var>name
</var> by
<var>count
</var>
60 lines. Positive counts increase the height, while negative counts