[Lazarus] debug "textfile" [[was: Re: Feedback about GDB on Windows]]

Martin Frb lazarus at mfriebe.de
Fri Oct 25 03:24:40 CEST 2019


On 21/10/2019 12:18, Luca Olivetti via lazarus wrote:
>> Testing with Stabs (fpc -g or -gsĀ  / the default for 32 bit) is 
>> pointless.
> It's the only format that shows the content of a record, e.g.
>
> var f:textfile
>
> stabs (-g) -> f = record TEXt { HANDLE = 450900519, MODE = 55217 , ......
> dwarf with sets (-gw -godwarfsets) -> f = record TEXT {}
> dwarf2 (-gw2) -> f = record TEXT {}
>

Interesting.
I have a feeling that is intention (by the compiler). But you may want 
to discuss this on the fpc list.


More information about the lazarus mailing list