Index: platform_tools/android/bin/android_gdb_exe |
diff --git a/platform_tools/android/bin/android_gdb_exe b/platform_tools/android/bin/android_gdb_exe |
index 1d2c36118f5b7e0b27b56bb3b7688dad75d0d9bd..6a95e2610194983f868348eb343debd4e918590a 100755 |
--- a/platform_tools/android/bin/android_gdb_exe |
+++ b/platform_tools/android/bin/android_gdb_exe |
@@ -6,7 +6,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
source $SCRIPT_DIR/android_setup.sh |
# setup the gdbserver |
-$SCRIPT_DIR/android_gdbserver -d ${DEVICE_ID} ${APP_ARGS} |
+$SCRIPT_DIR/android_gdbserver -d ${DEVICE_ID} ${APP_ARGS[@]} |
# quit if gdbserver setup failed |
if [[ "$?" != "0" ]]; then |