I'm using valgrind for profiling/memchecking my application in Eclipse CDT (Indigo).
After profiling it with memcheck in Eclipse, I found two "possibly lost"s (both from libraries that are out of my control). So I want to add them to my suppressions list.
I then ran the same binary using valgrind in command line:
valgrind --leak-check=full --gen-suppressions=all myapp --arg1 --arg2
To my supprise, the two "possibly losts"s are not showing up. (if they show up, I could just add them to my suppressions list in Eclipse)
I'm wondering what options are passed to valgrind in Eclipse profiling. But I don't know how to show the command line of valgrind when profiling in Eclipse.
Please help me out. Thanks.
Peter