[fpc-pascal] RTL debuginfo on GDB 7.4+ and OSX Mavericks
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Mar 12 18:03:50 CET 2014
On 12/03/14 17:35, Dmitry Boyarintsev wrote:
> On Wed, Mar 12, 2014 at 8:01 AM, Jonas Maebe <jonas.maebe at elis.ugent.be
> <mailto:jonas.maebe at 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
More information about the fpc-pascal
mailing list