[fpc-devel] New Windows gdb-binary

Martin lazarus at mfriebe.de
Fri Sep 30 15:30:34 CEST 2011


On 30/09/2011 14:02, Joost van der Sluis wrote:
> Hi all,
>
> For all those who are interested in new debug-features of fpc and gdb, I
> have cross-compiled a gdb-executable for Windows.
>
> It's based on the Fedora-16 branch from the Archer project. But I added
> a few patches of my own, namely the patch to recognize methods, setting
> case-sensitivity off by default and a patch to allow evaluating
> method-values (without actually calling them.)
Ah, how does that work?

>
> With this gdb-version you can:
> - Print strings properly, this means that indexes are evaluated properly
> and strings can contain #0 characters (when compiled with -gw3)
> - Dynamic array are evaluated properly (when compiled with -gw3)
> - Case of identifiers are preserved (when compiled with -gw3)
> - It is possible to identify class-methods (fpc 2.7.1 only)
> - It is possible to call simple class-methods (fpc 2.7.1 only. Some
> problems on i386 regarding the calling conventions remain, and there
> seems to be some problems still with overridden functions)
>
> Please test this gdb-version, and tell me about your experiences.
> Especially Martin. ;)

Will do (weekend just ahead, what a coincidence... :) )

> Oh, you can download it here:
> http://www.lazarussupport.com/gdb_lazarssupport_20110930.zip
>
> Joost




More information about the fpc-devel mailing list