On Tue, 26 May 2026, Martin Frb via fpc-devel wrote:
I have updated
https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/683
It should provide the new tag as specified by the DWARF documentation.
(including Dwarf-5 as that was added to FPC).
Given that many debuggers don't yet implement it, or (as gdb) have bugs, like
failing for if the language is Pascal, I propose to add a new dwarf option.
This also allows it to be combined with the existing -godwarfcpp => in case
of gdb actually of some interest (works for some string types).
As for the name of the option, if there are better ideas....
I also hope that this option (or if preferred an additional extra option
"goDwarfProperty" like "goDwarfWithSets") may be added for the new property
code (which is based on the not yet released DWARF-6).
Why not simply use -godwarf5/6 ?
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel