Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / TUI-Overview.html
blobe0feb7aa6b96252a9cb15e60d7c3f02ef918bf43
1 <html lang="en">
2 <head>
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">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="TUI%20Overview">TUI Overview</a>,
13 Next:<a rel="next" accesskey="n" href="TUI-Keys.html#TUI%20Keys">TUI Keys</a>,
14 Up:<a rel="up" accesskey="u" href="TUI.html#TUI">TUI</a>
15 <hr><br>
16 </div>
18 <h3 class="section">TUI overview</h3>
20 <p>The TUI has two display modes that can be switched while
21 GDB runs:
23 <ul>
24 <li>A curses (or TUI) mode in which it displays several text
25 windows on the terminal.
27 <li>A standard mode which corresponds to the GDB configured without
28 the TUI.
29 </ul>
31 <p>In the TUI mode, GDB can display several text window
32 on the terminal:
34 <dl>
35 <dt><em>command</em>
36 <dd>This window is the GDB command window with the GDB
37 prompt and the GDB outputs. The GDB input is still
38 managed using readline but through the TUI. The <em>command</em>
39 window is always visible.
41 <br><dt><em>source</em>
42 <dd>The source window shows the source file of the program. The current
43 line as well as active breakpoints are displayed in this window.
44 The current program position is shown with the <code>&gt;</code> marker and
45 active breakpoints are shown with <code>*</code> markers.
47 <br><dt><em>assembly</em>
48 <dd>The assembly window shows the disassembly output of the program.
50 <br><dt><em>register</em>
51 <dd>This window shows the processor registers. It detects when
52 a register is changed and when this is the case, registers that have
53 changed are highlighted.
55 </dl>
57 <p>The source, assembly and register windows are attached to the thread
58 and the frame position. They are updated when the current thread
59 changes, when the frame changes or when the program counter changes.
60 These three windows are arranged by the TUI according to several
61 layouts. The layout defines which of these three windows are visible.
62 The following layouts are available:
64 <ul>
65 <li>source
67 <li>assembly
69 <li>source and assembly
71 <li>source and registers
73 <li>assembly and registers
75 </ul>
77 </body></html>