Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] Adding a extension point to Valgrind to change the location of the Valgrind binary

Hi,
I'm working in a eclipse based sdk for users that has several versions of some programs used by the linux tools plugins in different paths. So we need a way to let user select which path will be used to run valgrind, gprof, gcov and other tools. Valgrind already has a support for changing the Valgrind location in Window->Preferences but we need a way to use different valgrinds in different projects. I talked to Overholt and he suggested me to avoid adding more options to the user interface, so I coded a extension point in Valgrind plugin to let me change this path using an external plugin. I intend to do something similar in other plugins and I want an opinion about that or a suggestion. There is a bug opened reporting this problem (https://bugs.eclipse.org/bugs/show_bug.cgi?id=353056). I attached a patch in the bugzilla and let it available at github (https://github.com/obusatto/linuxtools/commits/master).

Thanks,
Otavio Pontes


Back to the top