Hi,

When you add the -gl   (debug line info added to compiled executable)
parameter to a project, which unit does it use to gather the debug
information?

  LineInfo (via stab information) or  LnfoDwrf (via dwarf information)?


How do you toggle between the two? How do I know which one of the two
is being used?

At the moment, when I compile with -gl, then the GetLineInfo doesn't
return any function name information. I then removed the -gl and
explicitly added LnfoDwrf into my project uses clause (thinking that
Stab info might be old and outdated), and still the function name
information return by GetLineInfo was blank.  I'm testing on a 64-bit
Linux system.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to