The default layout direction for the GDB TUI is up down e.g. src-win at top, asm-win at middle, cmd-win at bottom. Is there a way to change the direction in a horizontal style e.g. src-win at left, asm-win at middle, cmd-win at right?
tui new-layout example {-horizontal src 1 asm 1} 2 status 0 cmd 1
https://sourceware.org/gdb/onlinedocs/gdb/TUI-Commands.html
yes, follow by above answers:
when you are in gdb, just input above cmds:
(gdb)tui new-layout example {-horizontal src 1 asm 1} 2 status 0 cmd 1
then tui will create a layout name called example, then you can:
(gdb) tui # to enter tui mode
(gdb) layout example # to load the layout you just create
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With