[fpc-devel] DEBUGSTART_, DEBUGINFO_ and DEBUGEND_ symbols
Marc Weustink
marc at dommelstein.net
Sun Nov 22 18:43:54 CET 2009
hi,
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).
(gdb) ptype DEBUGSTART_UNIT1
type = function : int
(gdb) ptype DEBUGINFO_UNIT1
type = <data variable, no debug info>
(gdb) ptype DEBUGEND_UNIT1
type = function : int
Marc
More information about the fpc-devel
mailing list