Next: TUI Configuration, Previous: TUI Single Key Mode, Up: TUI [Contents][Index]
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.
info winList and give the size of all displayed windows.
layout nextDisplay the next layout.
layout prevDisplay the previous layout.
layout srcDisplay the source window only.
layout asmDisplay the assembly window only.
layout splitDisplay the source and assembly window.
layout regsDisplay the register window together with the source or assembly window.
focus nextMake the next window active for scrolling.
focus prevMake the previous window active for scrolling.
focus srcMake the source window active for scrolling.
focus asmMake the assembly window active for scrolling.
focus regsMake the register window active for scrolling.
focus cmdMake the command window active for scrolling.
refreshRefresh the screen. This is similar to typing C-L.
tui reg floatShow the floating point registers in the register window.
tui reg generalShow the general registers in the register window.
tui reg nextShow the next register group. The list of register groups as well as
their order is target specific. The predefined register groups are the
following: general, float, system, vector,
all, save, restore.
tui reg systemShow the system registers in the register window.
updateUpdate the source window and the current execution point.
winheight name +countwinheight name -countChange the height of the window name by count lines. Positive counts increase the height, while negative counts decrease it.
tabset ncharsSet the width of tab stops to be nchars characters.
Next: TUI Configuration, Previous: TUI Single Key Mode, Up: TUI [Contents][Index]