On 12/03/14 17:35, Dmitry Boyarintsev wrote:
On Wed, Mar 12, 2014 at 8:01 AM, Jonas Maebe <jonas.ma...@elis.ugent.be
<mailto:jonas.ma...@elis.ugent.be>> wrote:


    That's because no one has implemented a DWARF lineinfo reader for
    Mac OS X. There is only one for Stabs. Patches are welcome.

Is there DWARF reader for other OS targets?

Yes.

Is it a matter of parsing the executable (and/or being smartenough to
read from an external .dsym file, if available)

You cannot read it from the executable on Mac OS X, because the DWARF info is left in the object files (to speed up and to reduce memory requirements for linking). So it's either parsing the locations of all object files and then parsing those (if they still exist), or locating and parsing the .dSYM bundle. Only supporting .dSYM bundles would be fine too, as far as I'm concerned.


Jonas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to