[fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)

Martin lazarus at mfriebe.de
Sun Sep 11 19:39:39 CEST 2011


Just thought to catch up.

what is the status on dwarf -3 ?

I just did a test with fpc trunk / gdb 7.3-2 => It appears to work 
reasonable good (though I can't test all possibilities).
A few types get messed up, as the idea tries to work dwarf2 or stabs 
tricks on the data, but that can probably be fixed.


The 2nd idea is about properties. Afaik in dwarf-3 they may even be 
encodable => though I have no idea what gdb would do with the info.

Yet even with old dwarf and stabs, if you look at the declaration of a 
class functions and procedures are encoded (even though gdb isn't 
necessarily able to call them). So my question here is, if it is (for 
each or any of the debug types) possible to encode them into the class 
declaration,even if none functional?

so ptype TFoo would return them in the list of fields and procedures ?

Martin



More information about the fpc-devel mailing list