aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-07-26 22:50:20 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2012-07-27 00:09:33 -0700
commitf065e2968edcf9c038a0e0647fa0cf525677e6e2 (patch)
treebbb58439fd08a8760337f9392edc35e8a65ab207 /ndk-gdb
parent69eccb32e9e37175e0262ca06c4e4a764f332c0a (diff)
downloadndk-f065e2968edcf9c038a0e0647fa0cf525677e6e2.tar.gz
Fix ndk-gdb when APP_ABI contains "all"
"all" in APP_ABI should be expanded into all available ABIs Related issue: http://code.google.com/p/android/issues/detail?id=35392 Change-Id: I0e9f5a5483c4487f501707f44df66b5bf15cebea
Diffstat (limited to 'ndk-gdb')
-rwxr-xr-xndk-gdb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ndk-gdb b/ndk-gdb
index 94642ce6e..3b924e91b 100755
--- a/ndk-gdb
+++ b/ndk-gdb
@@ -462,6 +462,9 @@ if [ "$OPTION_LAUNCH_LIST" = "yes" ] ; then
fi
APP_ABIS=`get_build_var APP_ABI`
+ALL_ABIS=`get_build_var NDK_ALL_ABIS`
+# replace "all" with all available ABIs
+APP_ABIS=${APP_ABIS//all/$ALL_ABIS}
log "ABIs targetted by application: $APP_ABIS"
# Check the ADB command, and that we can connect to the device/emulator