[Valgrind-users] Query

2010-05-12 Thread ajit gunge
Hi, I have a small project with few C,C++ files in it.I want to chk if the whole project has a memleak or not.Can I do this using valgrind.If yes How and where can i find more info on this. Please help. Thanks -

[Valgrind-users] Problem with getting lie numbers of surce file

2010-04-13 Thread ajit gunge
Hi All, I am trying to run the sample program on RHEL given at http://www.valgrind.org/docs/manual/mc-manual.html under section 4.2.2. now this should give me error mentioned in the section as to surce file with line numbers but when I am running the same program I dont get the line number is s

Re: [Valgrind-users] 3.5.0, macosx snow leopard, stdin

2010-04-12 Thread ajit gunge
Hi All, I wanted to know are there any good programs which I can refer too to get the real feel of valgrind.I want to use this tool and see exactly how this works and I ant to know all the options.Is it used only for mem leak issues or anything apart from this. Ajit ---

Re: [Valgrind-users] 3.5.0, macosx snow leopard, stdin

2010-04-12 Thread ajit gunge
Hi, I tried running the same code but I am getting different kind of errors. These are the errors valgrind --db-attach=yes --log-file=testout.txt myprogram.cpp < input.txt myprogram.cpp: line 3: using: command not found myprogram.cpp: line 4: syntax error near unexpected token `(' myprogram.cpp: li

[Valgrind-users] Problem with installing valgrind

2010-04-05 Thread ajit gunge
Hi All, I am trying to install valgrind on one of my servers which is running RHEL.It is asking password for me to install.I dotn know what password I have to give for running valgrind.Can anyone suggest what am I doing wrong. Thanks and Regards, Ajit -