Go forward to Emacs.
Go backward to Controlling GDB.
Go up to Top.

Canned Sequences of Commands
****************************

   Aside from breakpoint commands (see Breakpoint command lists: Break Commands.), GDB provides two ways to store sequences of commands
for execution as a unit: user-defined commands and command files.

Menu

Define
User-defined commands
Hooks
User-defined command hooks
Command Files
Command files
Output
Commands for controlled output