aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb.py
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2015-09-08 18:18:33 -0700
committerJosh Gao <jmgao@google.com>2015-09-09 16:49:48 +0000
commitf16297622783b69d0e95ae2b8f5e5ccdccb909ef (patch)
tree159f19da0f4140a4524ab29c88ae5cfcebc0edf0 /ndk-gdb.py
parentb778482a181628a9756a649f5a0020c7f3dc7126 (diff)
downloadndk-f16297622783b69d0e95ae2b8f5e5ccdccb909ef.tar.gz
[ndk-gdb.py] Fix project relative paths.
Change-Id: Ic7fec5ba367fcce939dde585826e274fcbd12d41
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-xndk-gdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py
index 7010a5d34..95ffaf658 100755
--- a/ndk-gdb.py
+++ b/ndk-gdb.py
@@ -652,9 +652,11 @@ The target device is running API level %d!''' % (API_LEVEL))
COMPAT_ABI = COMPAT_ABI[0]
log('Compatible device ABI: %s' % (COMPAT_ABI))
GDBSETUP_INIT = get_build_var_for_abi('NDK_APP_GDBSETUP', COMPAT_ABI)
+ GDBSETUP_INIT = os.path.normpath(os.path.join(PROJECT, GDBSETUP_INIT))
log('Using gdb setup init: %s' % (GDBSETUP_INIT))
APP_OUT = get_build_var_for_abi('TARGET_OUT', COMPAT_ABI)
+ APP_OUT = os.path.normpath(os.path.join(PROJECT, APP_OUT))
log('Using app out directory: %s' % (APP_OUT))
DEBUGGABLE = extract_debuggable(PROJECT+os.sep+MANIFEST)
log('Found debuggable flag: %s' % ('true' if DEBUGGABLE==True else 'false'))