From d30f3f5f305be4fafc16fdad5c71a282f1593d0f Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Sun, 5 Jan 2020 13:35:46 +0000 Subject: [PATCH] d-rust-gdb-paths Gbp-Pq: Name d-rust-gdb-paths --- src/etc/rust-gdb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/etc/rust-gdb b/src/etc/rust-gdb index 23ba93da8e..dc962bf5eb 100755 --- a/src/etc/rust-gdb +++ b/src/etc/rust-gdb @@ -3,8 +3,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 -- 2.30.2