GDB TUI Mode
Last updated
Last updated
Text User Interface makes it easier to look at code, set points, jump etc. It basically opens up multiple terminals on the same binary.
To display the assembly on the source terminal, we can use "layout asm"
While doing this, we can also display a list of registers using "layout regs"
All commands are shown under "help layout"
Then we can proceed and step through the program normally and see registers change in real time. This makes our life easier!