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=
"Sequences">Sequences
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"TUI.html#TUI">TUI
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Controlling-GDB.html#Controlling%20GDB">Controlling GDB
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"index.html#Top">Top
</a>
19 <h2 class=
"chapter">Canned Sequences of Commands
</h2>
21 <p>Aside from breakpoint commands (see
<a href=
"Break-Commands.html#Break%20Commands">Breakpoint command lists
</a>), GDB provides two ways to store sequences of
22 commands for execution as a unit: user-defined commands and command
26 <li><a accesskey=
"1" href=
"Define.html#Define">Define
</a>: User-defined commands
27 <li><a accesskey=
"2" href=
"Hooks.html#Hooks">Hooks
</a>: User-defined command hooks
28 <li><a accesskey=
"3" href=
"Command-Files.html#Command%20Files">Command Files
</a>: Command files
29 <li><a accesskey=
"4" href=
"Output.html#Output">Output
</a>: Commands for controlled output