How to make the gdb tui window bigger

Abruzzo Forte e Gentile picture Abruzzo Forte e Gentile · May 28, 2013 · Viewed 12.9k times · Source

I am debugging my application by using gdb in tui mode.

When I start my debugging session the main windows is split in 2 equal-sized parts.

  • the window with the source code (upper side)
  • the window where I can call gdb commands (lower side)

The 2 windows are the same exact size.

Is there any way or key combination to make the source code window bigger than the other ones? Anything to make it larger?

Answer

dbrank0 picture dbrank0 · May 28, 2013

See gdb manual for TUI commands.

You basically need to issue something like: winheight SRC + 5 (to increase of some columns) or winheight SRC 20 (to set absolute value)