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

2014-03-17 Thread Joao Morais
Em 12/03/14 08:55, Martin Frb escreveu: On 12/03/2014 11:27, Joao Morais wrote: If I compile RTL with "-gl -gw", GDB crashes with the following messages: While executing the command: "TGDBMIDebuggerInstruction: "-break-insert +0", " gdb reported: "&"linespec.c:2445: internal-error: void decode_

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

2014-03-12 Thread Jonas Maebe
On 12/03/14 17:35, Dmitry Boyarintsev wrote: On Wed, Mar 12, 2014 at 8:01 AM, Jonas Maebe 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 ot

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

2014-03-12 Thread Dmitry Boyarintsev
On Wed, Mar 12, 2014 at 8:01 AM, Jonas Maebe 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? Is it a matter of parsing the executable (and/or being smartenough

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

2014-03-12 Thread Jonas Maebe
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, RT

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

2014-03-12 Thread Martin Frb
On 12/03/2014 11:27, Joao Morais wrote: However, RTL which I compiled with "-gl" doesn't show filenames, procnames and line numbers anymore in the heaptrc output or stacktraces. If I compile RTL with "-gl -gw", GDB crashes with the following messages. Using FPC_2_6 and Laz_1_2 from yesterday.

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

2014-03-12 Thread Joao Morais
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 filena