[fpc-pascal] line numbers in valgrind output ?

Peter Vreman peter at freepascal.org
Fri Sep 8 12:06:33 CEST 2006


> Le Jeudi 7 Septembre 2006 20:42, Peter Vreman a écrit :
>> > I can't figure out how to get source code filename & line numbers in
>> > Valgrind output. What is the correct flags association ?
>> >
>> > I tried -gv, -gv -g, -gv -gw, -gv -gl,...
>> >
>> > I'm using Valgrind 3.2.0 in Debian Etch GNU/linux for x86_64, Fpc
>> 2.4.0
>>
>> valgrind for x86_64 is not tested yet with fpc.
>
> Well, I can help with testing... Perhaps I could even help with adapt the
> code, should someone guide me and point me to relevant doc and code.

For 64bit systems we are only going to support the dwarf (-gw) debuginfo
format. Code for that is only available in 2.1.1 in the file dbgdwarf.pas.






More information about the fpc-pascal mailing list