|Debugging with GDB|
The TUI has specific commands to control the text windows. These commands are always available, even when gdb is not in the TUI mode. When gdb is in the standard mode, most of these commands will automatically switch to the TUI mode.
Note that if gdb's
stdout is not connected to a
terminal, or gdb has been started with the machine interface
interpreter (see The gdb/mi Interface), most of
these commands will fail with an error, because it would not be
possible or desirable to enable curses window management.
tui reg float
tui reg general
tui reg next
tui reg system