[fpc-devel] FPC and valgrind

Florian Klaempfl florian at freepascal.org
Sun Mar 20 16:54:19 CET 2005

C Western wrote:

> I tried out valgrind on lazaraus and one of my own lcl programs, and was 
> able to get it working by after applying some small patches to valgrind 
> (which I have sent to the valgrind mailing lists). valgrind found some 
> uninitialised memory reads, which the attached patch fixes.

You could also use the -gv switch, it generates stabs accepted by valgrind.

More information about the fpc-devel mailing list