[fpc-pascal] RTL debuginfo on GDB 7.4+ and OSX Mavericks

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Mar 12 13:01:28 CET 2014


On 12 Mar 2014, at 12:27, Joao Morais wrote:

> Hello list. I've just upgraded to OSX Mavericks. GDB is no longer  
> installed with xcode5 so I downloaded, compiled and installed GDB  
> 7.6.2 myself. I can debug my own programs, testcases and Lazarus  
> packages if I use Dwarf debuginfo.
>
> However, RTL which I compiled with "-gl" doesn't show filenames,  
> procnames and line numbers anymore in the heaptrc output or  
> stacktraces.

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


Jonas



More information about the fpc-pascal mailing list