Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: build/android/adb_gdb

Issue 315223005: Fix adb_gdb --su-prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_gdb
diff --git a/build/android/adb_gdb b/build/android/adb_gdb
index 93bb317c713ded7574b0da8259fab592028cca0f..19989634b5a9be1bb72e00839c769f6b65ce9495 100755
--- a/build/android/adb_gdb
+++ b/build/android/adb_gdb
@@ -320,6 +320,7 @@ Valid options:
--su-prefix=<prefix> Prepend <prefix> to 'adb shell' commands that are
run by this script. This can be useful to use
the 'su' program on rooted production devices.
+ e.g. --su-prefix="su -c"
--pull-libs Force system libraries extraction.
--no-pull-libs Do not extract any system library.
@@ -852,7 +853,7 @@ if [ "$SU_PREFIX" ]; then
cat $SU_PREFIX_TEST_LOG
exit 1
fi
- COMMAND_PREFIX=$SU_PREFIX
+ COMMAND_PREFIX="$SU_PREFIX"
else
SHELL_UID=$(adb shell cat /proc/self/status | \
awk '$1 == "Uid:" { print $2; }')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698