24.4. TUI specific commands
The TUI has specific commands to control the text windows.
These commands are always available, that is they do not depend on
the current terminal mode in which gdb runs. When gdb
is in the standard mode, using these commands will automatically switch
in the TUI mode.
- info win
List and give the size of all displayed windows.
- layout next
Display the next layout.
- layout prev
Display the previous layout.
- layout src
Display the source window only.
- layout asm
Display the assembly window only.
- layout split
Display the source and assembly window.
- layout regs
Display the register window together with the source or assembly window.
- focus next | prev | src | asm | regs | split
Set the focus to the named window.
This command allows to change the active window so that scrolling keys
can be affected to another window.
- refresh
Refresh the screen. This is similar to using [C-L] key.
- update
Update the source window and the current execution point.
- winheight name +count, winheight name -count
Change the height of the window name by count
lines. Positive counts increase the height, while negative counts
decrease it.