Go forward to TUI
Go backward to Controlling GDB
Go up to Top
Go to the top op gdb

Canned Sequences of Commands

Aside from breakpoint commands (*note 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.