From c9f9f54d36124448cf18d57923ec801ca84478b5 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 18 Sep 2015 15:29:42 -0700 Subject: Assume that Python is in the same dir as gdb. Needed to share gdb with platform, since gdb will be in prebuilts/gdb/linux-x86, not prebuilts/linux-x86. Bug: http://b/21920612 Change-Id: I94577cc4895f27316a0a26cb8e47d30a7c7c7b4b --- build-gdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-gdb.sh b/build-gdb.sh index 5c406f66c..79286b845 100755 --- a/build-gdb.sh +++ b/build-gdb.sh @@ -277,7 +277,7 @@ install_host_gdb () cat > "$GDB_PATH" << EOF #!/bin/bash GDBDIR=\$(dirname \$(readlink -f \$0)) -PYTHONHOME="\$GDBDIR/../../../$(python_ndk_install_dir $1)" "\$GDBDIR/gdb-orig" "\$@" +PYTHONHOME="\$GDBDIR/.." "\$GDBDIR/gdb-orig" "\$@" EOF chmod 755 $GDB_PATH ;; -- cgit v1.2.3