https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #269 from Larkin Nickle <me at larbob dot org> --- (In reply to The Written Word from comment #268) > (In reply to Larkin Nickle from comment #262) > > Created attachment 51182 [details] > > GCC 11.1 patch to net dwarf2 debugging symbols > > > > Rebuilding with this patch. Should hopefully net me actual dwarf2 debug > > symbols. > > What if you use the GCC --gdwarf-2 option instead of this patch? Does the > patch just set the default DWARF version? Seems like if GCC supports DWARF > >2, --gdwarf-2 should generate just v2 DWARF info. Yes, I think that should work fine too.