Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-09

line numbers in valgrind output ?

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dominique Leducq

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

Dominique Leducq

Reply by email

Peter Vreman
to Dominique Leducq
Show quoted text 6 lines
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.

Reply by email

Leducq Dominique
to Peter Vreman

Le Jeudi 7 Septembre 2006 20:42, Peter Vreman a écrit :

Show quoted text 10 lines
> 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.

_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Peter Vreman
to Leducq Dominique
Show quoted text 13 lines
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.

Reply by email

Leducq Dominique
to Peter Vreman

Le Vendredi 8 Septembre 2006 12:06, Peter Vreman a écrit :

Show quoted text 19 lines
> 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.

As I understand it, it is not yet supported at all ? Is there a way for me to help ?

_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Florian Klaempfl
to Leducq Dominique
Leducq Dominique wrote 20 lines
Le Vendredi 8 Septembre 2006 12:06, Peter Vreman a écrit : >> 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. > > As I understand it, it is not yet supported at all ? Is there a way for me to help ?

Test and help 2.1.1 fixing so we get 2.2.0 out soon. The dwarf support isn't merged back to 2.0.4.

Reply by email

Peter Vreman
to Leducq Dominique: Le Vendredi 8 Septembre 2006 12:06, Peter Vreman a écrit : As I understand it, it is…
Show quoted text 20 lines
> >> > 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

Reply by email