Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Editing.html
blob1e4280214be6ca59bca4497df687854e6e05e332
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="Editing">Editing</a>,
13 Next:<a rel="next" accesskey="n" href="History.html#History">History</a>,
14 Previous:<a rel="previous" accesskey="p" href="Prompt.html#Prompt">Prompt</a>,
15 Up:<a rel="up" accesskey="u" href="Controlling-GDB.html#Controlling%20GDB">Controlling GDB</a>
16 <hr><br>
17 </div>
19 <h3 class="section">Command editing</h3>
21 GDB reads its input commands via the <dfn>readline</dfn> interface. This
22 <small>GNU</small> library provides consistent behavior for programs which provide a
23 command line interface to the user. Advantages are <small>GNU</small> Emacs-style
24 or <dfn>vi</dfn>-style inline editing of commands, <code>csh</code>-like history
25 substitution, and a storage and recall of command history across
26 debugging sessions.
28 <p>You may control the behavior of command line editing in GDB with the
29 command <code>set</code>.
31 <dl>
32 <dt><code>set editing</code>
33 <dd><dt><code>set editing on</code>
34 <dd>Enable command line editing (enabled by default).
36 <br><dt><code>set editing off</code>
37 <dd>Disable command line editing.
39 <br><dt><code>show editing</code>
40 <dd>Show whether command line editing is enabled.
41 </dl>
43 </body></html>