[fpc-devel] dward debug info - someone promiced more compact debug info than stabs

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 16 16:42:39 CET 2010


On 16 Mar 2010, at 16:37, Flávio Etrusco wrote:

> On Tue, Mar 16, 2010 at 12:22 PM, Jonas Maebe <jonas.maebe at elis.ugent.be 
> > wrote:
>>
>> On 16 Mar 2010, at 15:58, Paul Ishenin wrote:
>>
>>> Why dwarf information has so big debug files (comparing with  
>>> stabs) on
>>> windows?
>>
>> Because Windows (just like Darwin) does not support referring to  
>> DWARF debug
>> info from one object file to another, so a lot of debug information  
>> is
>> duplicated in multiple units.
>
> Out of curiosity, is this a limitation of gdb, the library loader, or
> the dwarf/library format?

On Mac OS X, it's a limitation of the linker (done on purpose, to  
making linking much faster and less memory intensive). I don't know  
about Windows.


Jonas


More information about the fpc-devel mailing list