On 02/07/2011 06:10 AM, Wan Mohd Fairuz Wan Ismail wrote:
> Since Valgrind use synthetic CPU, can it analyze a cross compiled programs? 
> eg: an ARM compiled programs tested with Valgrind installed on a x86 machine.

No.  The host and the target must have the same basic architecture.
The setting of the CPU integer flags (Negative, Zero, Overflow, Carry),
the details of floating point computation, and the system call interface
are not so easily emulated as are FETCH, STORE, ADD, OR.  For the particular
case of ARM vs x86, ARM has the Carry flag backwards on all subtract
operations.  (ARM subtract-with-borrow does not interoperate with ARM
add-with-carry.)

-- 

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to