Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this GDB TUI/layout on. How to return to default GDB view? I can't just restart GDB because I have important backtrace on my hand and as long as I have these extra windows I can't scroll well on the basic view.

share|improve this question

you can enter / leave the TUI mode with one of this combination:

  • C-x C-a
  • C-x a
  • C-x A
share|improve this answer
But see, which is a fun gotcha for the vi-inclined. – Rhys Ulerich Feb 20 '13 at 16:54
@RhysUlerich thanks! I think that was also mentioned at… , and there is likely to be a workaround soon: – Ciro Santilli 巴拿馬文件 六四事件 法轮功 Jun 14 '15 at 11:13

Beacause of the bug Ulerich mentioned which breaks the mappings if you have vi mode in your .inputrc, I have requested a workaround at and Andrew Burgess replied that he had just submitted a well received patch to add:

tui enable
tui disable

so in future versions we should have commands as an alternative to the shortcuts.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .