From: Debian Rust Maintainers Date: Mon, 28 Jan 2019 06:02:48 +0000 (+0000) Subject: d-rust-gdb-paths X-Git-Tag: archive/raspbian/1.32.0+dfsg1-1+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=32a185ad41ca5b3aa9095a9abd24952d2de9685d;p=rustc.git d-rust-gdb-paths Gbp-Pq: Name d-rust-gdb-paths --- diff --git a/src/etc/rust-gdb b/src/etc/rust-gdb index 743952a5be..5cd7a30041 100755 --- a/src/etc/rust-gdb +++ b/src/etc/rust-gdb @@ -13,8 +13,10 @@ set -e # Find out where the pretty printer Python module is -RUSTC_SYSROOT=`rustc --print=sysroot` -GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc" +#RUSTC_SYSROOT=`rustc --print=sysroot` +#GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc" +# We can just hardcode this on Debian, and remove the rustc dependency +GDB_PYTHON_MODULE_DIRECTORY="/usr/share/rust-gdb" # Run GDB with the additional arguments that load the pretty printers # Set the environment variable `RUST_GDB` to overwrite the call to a