Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

Beacause of the bug Ulerich mentioned which breaks the mappings if you have vi mode in your .inputrc, I have requested a workaround at https://sourceware.org/ml/gdb/2015-06/msg00009.html 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 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
2  
But see sourceware.org/bugzilla/show_bug.cgi?id=15163, 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 stackoverflow.com/questions/8953720/… , and there is likely to be a workaround soon: superuser.com/a/927728/128124 –  Ciro Santilli 六四事件 法轮功 纳米比亚胡海峰 Jun 14 at 11:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.