Laz debug tests / util [Re: [fpc-devel] Dwarf3 and the encoding of classes]

Martin fpc at mfriebe.de
Thu Jan 6 17:37:56 CET 2011


On 03/01/2011 11:30, Joost van der Sluis wrote:
> The debug-tests from Lazarus helped me a lot with this, thanks Martin
> for that.

I added a tool that allows to run any gdb command against several 
gdb/fpc versions...

It takes the same config as the tests. 2 files: fpclist.txt, gdblist.txt
I attached mine as samples.

You specify a pascal program/source.
And you specify a file (of the program) and Line to set a breakpoint.

It will compile the program with each given compiler (gs,gw, godwarfset, 
gw3), other options given (eg -Xe), and run it in each of the debuggers.
It then issues the list of commands and reports the results.

So you can quickly see what works in which version.

Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fpclist.txt
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110106/bddfb732/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdblist.txt
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110106/bddfb732/attachment-0001.txt>


More information about the fpc-devel mailing list