[fpc-pascal] line numbers in valgrind output ?

Peter Vreman peter at freepascal.org
Fri Sep 8 19:58:57 CEST 2006


> > >> > 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.
>
>As I understand it, it is not yet supported  at all ? Is there a way 
>for me to
>help ?

Dwarf debuginfo is support in 2.1.1. But valgrind may have some 
requirements what we need to implement in the debuginfo we generate. 
This still needs to be investigated.


Peter




More information about the fpc-pascal mailing list