Created attachment 64337 [details] port vgdb.c to android Port vgdb.c to Android. Regression tested on f12/x86, deb5/amd64, RHEL4/s390x Manually and minimally tested GDB+vgdb on an Android emulator. Changes in vgdb.c: * conditionalized some include files on VGPV_arm_linux_android * undefined PTRACEINVOKER for android * ignore usleep return value * changed locking from posix locking (not available on android) to fcntl locking * implemented --port= option to vgdb. This allows to use tcp/ip between GDB and vgdb (allowing to debug an android valgrind from a development machine where android NDK is installed) * conditionalized call to pthread_cancel (not available on android, and only needed if PTRACEINVOKER is set) Changes in docs/xml/manual-core-adv.xml: * documented the --port= new vgdb option * documented the way to connect from Android NDK gdb to Valgrind gdbserver on an android system * documented no ptraceinvoker on Android
Created attachment 64372 [details] port vgdb.c to android Same as before + * m_options.c : removes the #ifdef android setting clo_vgdb to no
Committed, r12204. Thanks.