diff options
author | Josh Gao <jmgao@google.com> | 2015-09-18 15:29:42 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2015-09-18 15:30:58 -0700 |
commit | c9f9f54d36124448cf18d57923ec801ca84478b5 (patch) | |
tree | c06119b28c0c138959f77f2de0f77e102e427b05 | |
parent | c64829b2c5ec8543cb50668b735123927abfb156 (diff) | |
download | gdb-c9f9f54d36124448cf18d57923ec801ca84478b5.tar.gz |
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
-rwxr-xr-x | build-gdb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |