Rollup merge of #115098 - real-eren:rust-gdbgui-gdbargs-syntax-fix, r=Mark-Simulacrum

rust-gdbgui: remove excessive quotes

Removes the extra quotes introduced in commit 8dd0ec6de7.
Modified script tested and now works on Ubuntu w/ `dash`.

Fixes https://github.com/rust-lang/rust/issues/115097
This commit is contained in:
Matthias Krüger 2023-08-27 09:45:19 +02:00 committed by GitHub
commit fd5a8e1261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,9 +55,9 @@ RUST_GDBGUI="${RUST_GDBGUI:-gdbgui}"
# These arguments get passed through to GDB and make it load the
# Rust pretty printers.
GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\"" \
"-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\"" \
"-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\" \
-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\" \
-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
# Finally we execute gdbgui.
PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" \