On Thu, 2012-02-02 at 17:07 +0500, Mohammad Ali wrote:
> After configuring valgrind. I took the Inst directory (as mentioned in
> Readme.android) and copied it to two emulators, one running on MacOSx
> and the other running on Ubuntu 11.10.
> I created the emulator using 2.2 API (platform-8). 
> 
> 
> On both the platforms while I run valgrind from the ./adb shell,
> kernel stops it.
> 
> 
> + Stopped (signal)
> 
> 
> and at second time when I run it. It says
> 
> 
> Illegal Instruction
I am also using an Android emulator to do some (limited) Valgrind
validations.
Note however that the emulated android is a 2.3.3 API level 10.

Assuming we are speaking about the same emulator (delivered as part
of the Android SDK/NDK) : it emulates an armv5, while valgrind
needs something like an armv7.
=> I have to apply some patches which allows to compile and run
Valgrind on the emulator with armv5.
The patches are mostly found in
            https://bugs.kde.org/show_bug.cgi?id=276897

(if you are interested, I have a combined patch which I am applying
on a 3.8.0 SVN)

Philippe




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to