|
From: John R. <jr...@Bi...> - 2013-11-01 05:21:43
|
> 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. -- |