4 ms·
> add the -g flag I compile with -gdwarf-4 -g3 to include macro definitions in the binary. That way you can use macros at the gdb prompt. I can't imagine life
by pflanze 5y ago
> add the -g flag
I compile with -gdwarf-4 -g3 to include macro definitions in the binary. That way you can use macros at the gdb prompt. I can't imagine life without those :)
- jcelerier 5y agoGCC has been at the dwarf 5 format for a few years, -gdwarf-4 is a pessimization in 2022