|
From: Leonard m. <spa...@ya...> - 2004-07-21 16:46:39
|
When I run my app using: > > cat ~/.valgrindrc # This is a comment > libtool --mode=execute valgrind --tool=memcheck --suppressions=$HOME/.valgrindrc myapp valgrind terminates with: valgrind: Bad option `#'; aborting. valgrind: Use --help for more information. Realistic suppressions files of course don't work either. This used to work...what am I doing wrong? Thanks, Randall __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ |
|
From: Tom H. <th...@cy...> - 2004-07-21 17:18:24
|
In message <200...@we...>
Leonard mckinley <spa...@ya...> wrote:
> When I run my app using:
>
> > > cat ~/.valgrindrc
> # This is a comment
>
> > libtool --mode=execute valgrind --tool=memcheck
> --suppressions=$HOME/.valgrindrc myapp
>
> valgrind terminates with:
>
> valgrind: Bad option `#'; aborting.
> valgrind: Use --help for more information.
>
> Realistic suppressions files of course don't work either. This used to
> work...what am I doing wrong?
Why are you trying to use your .valgrindrc file as a suppressions
file? The .valgrindrc file is for specifying command line options
not suppressions.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Nicholas N. <nj...@ca...> - 2004-07-21 17:30:57
|
On Wed, 21 Jul 2004, Leonard mckinley wrote: > When I run my app using: > >>> cat ~/.valgrindrc > # This is a comment > >> libtool --mode=execute valgrind --tool=memcheck > --suppressions=$HOME/.valgrindrc myapp > > valgrind terminates with: > > valgrind: Bad option `#'; aborting. > valgrind: Use --help for more information. There is no provision for comments in the .valgrindrc file. > Realistic suppressions files of course don't work either. This used to > work...what am I doing wrong? The .valgrindrc file is just for command line options, not for suppressions. I am surprised that you say it used to work... N |
|
From: Leonard m. <spa...@ya...> - 2004-07-21 17:57:44
|
--- Nicholas Nethercote <nj...@ca...> wrote: > >> libtool --mode=execute valgrind --tool=memcheck > > --suppressions=$HOME/.valgrindrc myapp > > There is no provision for comments in the .valgrindrc file. > > > Realistic suppressions files of course don't work either. This > used to > > work...what am I doing wrong? > > The .valgrindrc file is just for command line options, not for > suppressions. I am surprised that you say it used to work... Oh, I see. The last time I upgraded valgrind, it didn't support a file specifically named .valgrindrc. I used to use purify, which called suppressions configuratino file .purifyrc, so I naturally called valgrind's .valgrindrc and pointed --suppressions here. Now that valgrind supports an explicit .valgrindrc, I just need to rename this file. Thanks, Randall __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ |