|
From: Wangyaohui <wan...@gm...> - 2011-11-14 13:51:37
|
Hi all, I'd like to know whether Valgrind 3.7.0 supports emulator on Android? I have tried running Valgrind on QEMU with a specific '-armv7' kernel, but it gives out the following message: ------------------ # data/local/Inst/bin/valgrind /system/bin/ls ==340== Memcheck, a memory error detector ==340== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==340== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==340== Command: /system/bin/ls ==340== vex: priv/main_main.c:374 (LibVEX_Translate): Assertion `are_valid_hwcaps(VexArchARM, vta->archinfo_host.hwcaps)' failed. vex storage: T total 0 bytes allocated vex storage: P total 0 bytes allocated valgrind: the 'impossible' happened: LibVEX called failure_exit(). ==340== at 0x380351C8: report_and_quit (m_libcassert.c:210) ==340== by 0x62332A1F: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==340== at 0xB0001000: ??? (in /system/bin/linker) ------------------ I've followed the instruction at README.android exactly. Should I change the configure command so as to support Valgrind on Android emulator? I'm new to Valgrind...really appreciate your suggestions. Thanks & Best Regards |