[fpc-pascal] FPC's DWARF versions and extra dwarf options

mailinglists at geldenhuys.co.uk mailinglists at geldenhuys.co.uk
Thu Dec 18 11:27:29 CET 2025


Hi. If FPC supports these extra DWARF generation improvement, enabled 
via compiler arguments like: -godwarfsets -godwarfmethodclassprefix

Then why aren't those defaults when you enable DWARF debug generation 
via -g or -gw? Is it because those settings might not be supported for 
the DWARFv2 (FPC's default DWARF generation)?

On that note, what is the recommended DWARF version to use for 
up-to-date Linux and FreeBSD systems?

Regards,
   Graeme


More information about the fpc-pascal mailing list