www.delorie.com/gnu/docs/gdb/gdb_197.html   search  
Buy the book!

Debugging with GDB

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.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 the screen. This is similar to using C-L key.

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.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003