当前位置:Gxlcms > 数据库问题 > gdb tui中切换窗口

gdb tui中切换窗口

时间:2021-07-01 10:21:17 帮助过:4人阅读

(Window names are case in-sensitive.)

  

 

 

To start in neato and highly-recommended GUI mode, start the debugger with gdb -tui. (For many of the examples, below, I show the output of gdb‘s dumb terminal mode, but in real life I use TUI mode exclusively.)

And here is a screenshot of what you‘ll see, approximately:

技术分享

In TUI mode, the layout command controls which windows you see. Additionally, the tui reg allows control of the register window, and will open it if it‘s not already open.

The commands are:

layout src Standard layout—source on top, command window on the bottom
layout asm Just like the "src" layout, except it‘s an assembly window on top
layout split Three windows: source on top, assembly in the middle, and command at the bottom
layout reg Opens the register window on top of either source or assembly, whichever was opened last
tui reg general Show the general registers
tui reg float Show the floating point registers
tui reg system Show the "system" registers
tui reg next Show the next page of registers—this is important because there might be pages of registers that aren‘t in the "general", "float", or "system" sets

gdb tui中切换窗口

标签:

人气教程排行