Descriptionadb_gdb: Minor improvements
This patch improves the Android-specific adb_gdb debugging scripts
in several minor ways:
- It ensures that the temporary directory is always removed when
the script exits, even whe it is interrupted with Ctrl-C.
- It ensures that if --pull-libs is interrupted by a Ctrl-C,
the build.prop in /tmp/$USER-adb-gdb-libs/ is erased, forcing
a --pull-libs operation in the next invokation, instead of keeping
a portion of the libraries in a bad state.
- It adds a --su-prefix=<prefix> option, to be able to use tools
like 'su' on rooted production devices. This is useful when the
installed app is not debuggable (e.g. a release build), and there
is no way to run ADB as root.
BUG=NONE
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206990
Patch Set 1 #Patch Set 2 : Handle bad --su-prefix that actually don't give root rights. #Patch Set 3 : Re-enable --su-prefix check. #Messages
Total messages: 8 (0 generated)
|