Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-12

FPDebug - Which Dwarf?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Frb
to Gabor Boros
Gabor Boros wrote 5 lines
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 trunk.

Reply by email