On 22 Nov 2009, at 18:43, Marc Weustink wrote:

> while adding sourceline info to the Lazarus disassembler output I ran into 
> the DEBUGSTART_<unitnamehere>, DEBUGINFO_<unitnamehere> and 
> DEBUGEND_<unitnamehere> symbols.
> What I wonder is why DEBUGSTART and DEBUGEND are reported as functions, while 
> DEBUGINFO is reported as datavariable (fpc 2.2.4, stabs).

DEBUGSTART and DEBUGEND are symbols in text section, while DEBUGINFO is a label 
in the data section. I don't know exactly how the mechanism works, but the only 
purpose of these symbols is to prevent debug info from being smartlinked out. 
They are irrelevant for the actual debugging.


Jonas_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to