Next: Python, Up: Extending GDB   [Contents][Index]


23.1 Canned Sequences of Commands

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

Define:    How to define your own commands
Hooks:    Hooks for user-defined commands
Command Files:    How to write scripts of commands to be stored in a file
Output:    Commands for controlled output
Auto-loading sequences:    Controlling auto-loaded command files