diff options
| author | Nicolas Bigaouette <nbigaouette@gmail.com> | 2017-04-20 11:20:33 -0400 |
|---|---|---|
| committer | Nicolas Bigaouette <nbigaouette@gmail.com> | 2017-04-20 11:20:33 -0400 |
| commit | 61b7ebe7d3fbe19c7aaf7b8fa5b9661eccca6061 (patch) | |
| tree | 516354246a791c8f51c0adecbd2c7f6b7343307c /src/etc/rust-gdb | |
| parent | 82ed7830ad5d8d30751ec608ef07c8d42792c878 (diff) | |
| download | rust-61b7ebe7d3fbe19c7aaf7b8fa5b9661eccca6061.tar.gz rust-61b7ebe7d3fbe19c7aaf7b8fa5b9661eccca6061.zip | |
Rename environment variable `GDB_CMD` to `RUST_GDB` to prevent ambiguity
Diffstat (limited to 'src/etc/rust-gdb')
| -rwxr-xr-x | src/etc/rust-gdb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/rust-gdb b/src/etc/rust-gdb index ef1689886cb..52601cd96f8 100755 --- a/src/etc/rust-gdb +++ b/src/etc/rust-gdb @@ -17,10 +17,10 @@ RUSTC_SYSROOT=`rustc --print=sysroot` GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc" # Run GDB with the additional arguments that load the pretty printers -# Set the environment variable `GDB_CMD` to overwrite the call to a +# Set the environment variable `RUST_GDB` to overwrite the call to a # different/specific command (defaults to `gdb`). -GDB_CMD="${GDB_CMD:-gdb}" -PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" ${GDB_CMD} \ +RUST_GDB="${RUST_GDB:-gdb}" +PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" ${RUST_GDB} \ -d "$GDB_PYTHON_MODULE_DIRECTORY" \ -iex "add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY" \ "$@" |
