3 ms·
Thank you so much. I didn't know about layouts at all! The source code and disassembly layout is amazing and it's exactly what I want to see when I launch a deb
by matheusmoreira 3y ago
Thank you so much. I didn't know about layouts at all! The source code and disassembly layout is amazing and it's exactly what I want to see when I launch a debugger. I wonder why it's not the default. GDB has a huge number of features but it's quite hard to use. That'd go a long way towards making it easier.
Is there's a data structure explorer panel? I went to rather insane lengths to develop pretty printing scripts for my data structures. It's got support for 3 scripting languages: Python, Guile Scheme and its very own GDB command file language. The first two require libc. My project was freestanding so I had to parse bits and bytes with GDB's arcane syntax. A proper structure visualizer would be so helpful...
- b5n 3y ago> I wonder why it's not the default. You can toss something like this in ~/.config/gdb/gdbinit: tui new-layout default regs 1 {-horizontal src 1 asm 1} 2 status 0 cmd 1 tui layout default tui enable