Index: platform_tools/android/bin/android_gdb_native |
diff --git a/platform_tools/android/bin/android_gdb_native b/platform_tools/android/bin/android_gdb_native |
index a6d748ca4e8515f67cf0f707cd21e0c5e1b36eeb..bf6827a25c1867cc5e8d63a1bb765ff5f8e9a458 100755 |
--- a/platform_tools/android/bin/android_gdb_native |
+++ b/platform_tools/android/bin/android_gdb_native |
@@ -45,8 +45,7 @@ GDBSETUP=$GDB_TMP_DIR/gdb.setup |
# Launch gdb client |
echo "Entering gdb client shell" |
-GDB_COMMAND=$(command ls "$ANDROID_TOOLCHAIN"/*-gdb | head -n1) |
-"$GDB_COMMAND" -x $GDBSETUP |
+$ANDROID_TOOLCHAIN/../gdb -x $GDBSETUP |
# Clean up: |
# We could 'rm -rf $GDB_TMP_DIR', but doing so would cause subsequent debugging |