From 8e749d723f5325cdd9b35a16031fa0746147af8a Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 10 Mar 2016 17:23:59 -0800 Subject: [PATCH] ndk-gdb.py: fix pretty printer path. Bug: https://github.com/android-ndk/ndk/issues/3 Change-Id: I23ec52b8612fb4374ea192b93935329f59c36d16 (cherry picked from commit 4555ef3e4530b96733b6b4c9af27ed40e63b07be) --- ndk-gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndk-gdb.py b/ndk-gdb.py index cb6d12aa7..c677c823c 100755 --- a/ndk-gdb.py +++ b/ndk-gdb.py @@ -565,7 +565,7 @@ def find_pretty_printer(pretty_printer): path = os.path.join("stlport", "stlport") function = "register_stlport_printers" pp_path = os.path.join( - NDK_PATH, "host-tools", "share", "pretty-printers", path) + ndk_bin_path(), "..", "share", "pretty-printers", path) return pp_path, function