aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb.py
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-11-16 13:46:55 -0800
committerDan Albert <danalbert@google.com>2015-11-16 13:46:55 -0800
commite1fe348947ebd50fb613e9aee01daee8139cdfd6 (patch)
treeb7f2ddd033ab992a2655e47bf118927516e52a7e /ndk-gdb.py
parent141a24114faa49489460c08f12eb5d380b8fd939 (diff)
downloadndk-e1fe348947ebd50fb613e9aee01daee8139cdfd6.tar.gz
Move ndk-gdb into the host-tools package.
Bug: http://b/25454836 Change-Id: I30f4f44a6a3fefb977bc94111adfb3edc28d6ee6
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-xndk-gdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py
index 6d6173013..fba4250cd 100755
--- a/ndk-gdb.py
+++ b/ndk-gdb.py
@@ -32,7 +32,8 @@ import xml.etree.cElementTree as ElementTree
import logging
# Shared functions across gdbclient.py and ndk-gdb.py.
-NDK_PATH = os.path.dirname(__file__)
+# ndk-gdb is installed to $NDK/prebuilt/bin
+NDK_PATH = os.path.normpath(os.path.join(os.path.dirname(__file__), '../..'))
sys.path.append(os.path.join(NDK_PATH, "python-packages"))
import gdbrunner