Next: Python, Up: Extending GDB
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.