[Lazarus] using dwarf with special tricks [Re: Generating line info]

Martin lazarus at mfriebe.de
Tue Sep 20 11:22:18 CEST 2011


On 20/09/2011 07:24, Graeme Geldenhuys wrote:
> On 19/09/2011 21:16, Martin wrote:
>> So for using within Lazarus, IMHO dwarf is at least as good as stabs.
> Thanks Martin, for all your testing. This is good news, especially since
> my new debugger only reads DWARF info.
>
>

If you need to find out thinks yourself => e.g how different versions of 
gdb handle different things:

debugger/tests/GDBMI/RunGDBMI.lpi

look into TestBase.pas => how to configure a list of fpc and gdb 
versions (so you will be offered more than the one currently used in 
Lazarus).

The RunGDBMI.exe compiles a pascal source, that you can select, then you 
enter one or more gdb commands, and it will be run against every 
combination of fpc/gdb/stabs/dwarf

using CSF and strip-echo, you can copy and paste the result into 
excep/oo-calc => and have a nice table of all the results.




More information about the Lazarus mailing list