Hello,
... but having trouble:
$ out/Debug/bin/chrome_public_apk gdb --pid <renderer PID>
W 0.455s Main Running: $CHROMIUM_SRC/build/android/adb_gdb --package-name=
org.chromium.chrome --output-directory=$CHROMIUM_SRC/out/Android-Debug --adb=$CHROMIUM_SRC/third_party/android_sdk/public/platform-tools/adb --device=712KPZK1085669 --pid=30607 --port=5039 --target-arch=arm
All subsequent output is from adb_gdb script.
ERROR: Cannot find Android NDK toolchain for 'arm' architecture. Please verify your NDK installation!
Extracting system libraries into: /tmp/adb-gdb-support-szager/712KPZK1085669-
ERROR: Could not list process's memory mappings.
ERROR: Use --su-prefix if the application is not debuggable.
I hacked around this by applying this patch:
diff --git a/build/android/adb_gdb b/build/android/adb_gdb
index 1dc3ce5f3bc9..65091df0a301 100755
--- a/build/android/adb_gdb
+++ b/build/android/adb_gdb
@@ -98 +98 @@ TARGET_ARCH=
-TOOLCHAIN=
+TOOLCHAIN=$CHROMIUM_SRC/third_party/android_ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
... but now I get a different problem:
$ out/Debug/bin/chrome_public_apk gdb --pid <renderer PID>
W 0.456s Main Running: $CHROMIUM_SRC/build/android/adb_gdb --package-name=
org.chromium.chrome --output-directory=$CHROMIUM_SRC/out/Android-Debug --adb=$CHROMIUM_SRC/third_party/android_sdk/public/platform-tools/adb --device=712KPZK1085669 --pid=30607 --port=5039 --target-arch=arm
All subsequent output is from adb_gdb script.
Extracting system libraries into: /tmp/adb-gdb-support-szager/712KPZK1085669-
ERROR: Could not list process's memory mappings.
ERROR: Use --su-prefix if the application is not debuggable.
Any help will be greatly appreciated.