Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

valgrind on the ARM9?

I see that valgrind has an ARM7 target, but I find conflicting information on whether valgrind has support for the ARM9. The ARM9 target I am working with is running linux.

Has anyone specifically succeeded in using valgrind on an ARM9 target? If so, any pointers you can offer would be helpful, including "how did you build it?".

Thanks

-z

like image 533
zap foster Avatar asked Jun 16 '11 20:06

zap foster


People also ask

What platform does valgrind run?

Valgrind runs on several popular platforms, such as x86/Linux, AMD64/Linux and PPC32/Linux. Valgrind works with all the major Linux distributions, including Red Hat, SuSE, Debian, Gentoo, Slackware, Mandrake, etc. Valgrind is easy to use.

How does valgrind work internally?

Valgrind works by doing a just-in-time (JIT) translation of the input program into an equivalent version that has additional checking. For the memcheck tool, this means it literally looks at the x86 code in the executable, and detects what instructions represent memory accesses.

Is Valgrind open source?

The Valgrind open source tool can be used to detect some of these errors by dynamically executing the program. Valgrind notifies the user with an error report for all the above scenarios.


1 Answers

Valgrind runs on ARM-v7 (architecture name), not ARM7 (chip family name). ARM7 is a name of a fairly old chip family (which uses architecture ARM-v4), as is ARM9 (ARM-v5). Are you sure that your chip is an ARM9 and not a Cortex-A9 (which uses the ARM-v7 architecture)? If it's really an ARM9, you are out of luck. If it's a Cortex, it should work.

like image 97
Variable Length Coder Avatar answered Sep 29 '22 07:09

Variable Length Coder