> I have 
> successfully built Valgrind as instructed in the README and pushed it into 
> my emulator. I used "android setprop wrap...." to redirect the app to be 
> launched through Valgrind, however, I am getting the following error for all 
> the apps launched by Valgrind:
> 
> ================from the logcat =================================
> I/val.sh  ( 1259): disInstr(thumb): unhandled instruction: 0xEEBA 0x7BEF
> I/val.sh  ( 1259): ==1260== valgrind: Unrecognised instruction at address 
> 0xcab86ad.
> I/val.sh  ( 1259): ==1260==    at 0xCAB86AC: ??? (in 
> /system/lib/libjavacore.so)

You forgot to say which version of valgrind (run "valgrind --version")
and which version of hardware (on Linux: "cat /proc/cpuinfo").

Assembling that unhandled Thumb-mode instruction 0xEEBA 0x7BEF:
----- foo.S
        .thumb_func
abc:
        .short 0xEEBA, 0x7BEF
-----
$ gcc -c foo.S
$ gdb foo.o
(gdb) x/i 1
   0x1 <abc+1>: vcvt.f64.s32    d7, d7, #1
(gdb) x/x 0
0x0 <abc>:      0x7befeeba
-----

So does your hardware have vector floating point to execute 'vcvt.f64.s32' ?
The software believes (or was told) that the hardware does.  Is it true?
Check the configuration steps.  Look for a file "config.h", and see if
its contents describe your setup accurately.

-- 



------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to