[Lazarus] FPDebug - Which Dwarf?
lazarus at mfriebe.de
Fri Dec 14 11:36:04 CET 2018
On 14/12/2018 11:09, Gabor Boros via lazarus wrote:
> Hi All,
> I use Lazarus fixes_2_0 and FPC fixes_3_2 (OS_TARGET=win64
> CPU_TARGET=x86_64). Which is the best Dwarf selection for this
> combination and FPDebug?
Dwarf 3 should be perfectly fine. And yields better results (upper/lower
case of identifier names are preserved).
However with Dwarf 3, ansistrings may be displayed as array of char.
This is fixed in trunk, but not merged to fixes.
IIRC With Dwarf 2, in both trunk/fixes Ansistring are PChar. And this
can not be fixed, as for Dwarf 2 fpc writes the same debug info for
ansistring and pchar.
IIRC WideStrings are always PWideChar (with any combination).
And ShortStrings are embedded in a record in fixes, but shown correct in
More information about the Lazarus