[Lazarus] debug "textfile" [[was: Re: Feedback about GDB on Windows]]
Luca Olivetti
luca at wetron.es
Fri Oct 25 08:42:01 CEST 2019
El 25/10/19 a les 3:24, Martin Frb via lazarus ha escrit:
> 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.
I just wanted to know why you said using stabs is pointless.
A while ago I tried dwarf but then I switched back to stabs. I don't
think I did it only because of the records but my memory is failing me :-(
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the lazarus
mailing list