We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GDB_CMD
RUST_GDB
1 parent 82ed783 commit 61b7ebeCopy full SHA for 61b7ebe
src/etc/rust-gdb
@@ -17,10 +17,10 @@ RUSTC_SYSROOT=`rustc --print=sysroot`
17
GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc"
18
19
# Run GDB with the additional arguments that load the pretty printers
20
-# Set the environment variable `GDB_CMD` to overwrite the call to a
+# Set the environment variable `RUST_GDB` to overwrite the call to a
21
# different/specific command (defaults to `gdb`).
22
-GDB_CMD="${GDB_CMD:-gdb}"
23
-PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" ${GDB_CMD} \
+RUST_GDB="${RUST_GDB:-gdb}"
+PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" ${RUST_GDB} \
24
-d "$GDB_PYTHON_MODULE_DIRECTORY" \
25
-iex "add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY" \
26
"$@"
0 commit comments