GDB tui mode get into/exit tui mode: ctrl + x + a cycle through assembly, code, registers information: ctrl + x + 2 get the last command and the next command: ctrl + p, ctrl + n