On 14 aug 2006, at 13:14, Vincent Snijders wrote:

Is valgrind support broken or do
I have to do something beyond setting the valgrind compiler switch?
You don't have to do anything but compile all your program's units and the program itself with the -gv switch.

Note: all includes the RTL.

No, an RTL compiled without debugging information is also fine. What's important is that you don't have any units compiled with debugging info, but without the -gv set (because Valgrind cannot handle some kinds of debugging info we generate, and -gv works around that).


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to