Adding properties into existing stabs/dwarf; gdb readable workaround ? [[Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]]

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Sep 12 19:32:53 CEST 2011


On 12 Sep 2011, at 14:07, Martin wrote:

> Anyone care to comment on those ideas?
> 
> Are they worth to be made a feature request?
> And if so, which of the proposed ideas should be made into a feature request?

I really don't like hacks like that. They will have to be maintained almost forever because tools will rely on them, just like the previously mentioned hack for shortstrings (they're also represented using a fake record).

While not a complete solution either, couldn't you use the information from the Lazarus codetools to figure out which properties exist? If that's currently not possible because you don't know which unit the type is declared in: DWARF supports adding information about where an entity is declared to the debug information. While FPC currently does not do that, this is something that could be added if it would help you.


Jonas


More information about the fpc-devel mailing list