Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




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 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.

  Published under the terms of the GNU General Public License Design by Interspire