aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-03-14 15:31:44 -0700
committerJosh Gao <jmgao@google.com>2016-03-14 15:39:40 -0700
commitff0ebb55d45c0f3057ab4590f9e4e2a561434b33 (patch)
tree0e42270cb4ef5efff7a8903fe84ac994b1288272 /ndk-gdb
parentde8460a189e3dcba9f255ed5101e285e12f6d179 (diff)
downloadndk-ff0ebb55d45c0f3057ab4590f9e4e2a561434b33.tar.gz
Use the prebuilt python in the ndk-gdb script.
The adb and gdbrunner modules don't work in python3. Until we get a chance to fix them, use our prebuilt python2. Change-Id: I968310a153731d8e8daca77ce93e61c79a8a2ffd
Diffstat (limited to 'ndk-gdb')
-rwxr-xr-xndk-gdb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndk-gdb b/ndk-gdb
index 4342c0041..d3bdd82f0 100755
--- a/ndk-gdb
+++ b/ndk-gdb
@@ -1,2 +1,3 @@
#!/bin/sh
-$(dirname $0)/ndk-gdb.py $@
+NDK_BIN_DIR=$(dirname $0)
+${NDK_BIN_DIR}/python ${NDK_BIN_DIR}/ndk-gdb.py $@