On 30/09/2011 15:45, Joost van der Sluis wrote:
On Fri, 2011-09-30 at 21:47 +0800, Paul Ishenin wrote:
30.09.2011 21: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.)
How can this be possible? Some internal virtual machine?
Huh? The compilation of the Fedora-gdb-sources for Windows? Fedora comes
with an out-of-the-box mingw cross-compiler. (Not really a vm)
I think this was about:
evaluating
method-values (without actually calling them.)
which got me curious too.
Now reading it again, does it mean:
1) gdb can (magically?) get the return value of a function/method, but
WITHOUT calling/invoking the function (e.g. for properties)
2) gdb can "evaluate" the type of a method. e.g return "ptype
Tfoo.Method" = "function(a:int): boolean"
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel