On 11/11/2011 7:21 AM, Александар Миленковић wrote:
> Unfortunately, the . is necessary for some reason.
>
> Here's a more complete log.
>
> # . /valgrind --leak-check=yes testapp
> .: Can't open /valgrind
> # ./valgrind --leak-check=yes testapp
> ./valgrind: not found
> # . valgrind --leak-check=yes testapp
> /system/bin/valgrind: 1: Syntax error: word unexpected (expecting ")")
> # valgrind --leak-check=yes ./system/bin/testapp
> valgrind: not found
>
>

What happens if you run "/system/bin/valgrind --leak-check=yes 
testapp"?  It seems that valgrind is installed in /system/bin.

What is the search path in the shell?  If the search path does not 
include the directory in which valgrind is located, the shell will have 
trouble finding it.

-- 
     David Chapman         [email protected]
     Chapman Consulting -- San Jose, CA


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to