On 07/20/2011 10:41 AM, Mudric, Dusan (Dusan) wrote:
> I did something similar. However, "valgrind ls -l" does nothing. It never 
> completes this instruction. 

"valgrind ls -l" does _something_, if nothing other than "Cannot exec", or 
SIGSEGV,
or some other complaint.  ("Normal exit" is a [silent] complaint.)

Please show the entire output from:
        valgrind ls -l
        echo $?
Then show the output from:
        strace valgrind ls -l
The show the output from
        $ gdb valgrind
        (gdb) run ls -l
        (gdb) bt
        (gdb) info reg
        (gdb) x/i $pc
        (gdb) x/8i $pc-4*4


> 1. I fixed configure.in
> 
> http://old.nabble.com/building-for-arm-td29791500.html#a29791500
> 
> 2. I used:
> 
> . ./mybuild.sh
> ./configure --host=armv7-unknown-linux-gnu --prefix=/exports/Valgrind

Cross-compiling and cross-linking is significantly different from
native compiling and native linking.  You should have mentioned this
in your first message.  You must insure that the cross-linking environment
matches the actual target environment; it is surprisingly easy and common
to make errors here.

-- 

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to