Skip to content

Commit fd5a8e1

Browse files
authored
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 8dd0ec6. Modified script tested and now works on Ubuntu w/ `dash`. Fixes #115097
2 parents 922b827 + efa41ef commit fd5a8e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/etc/rust-gdbgui

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ RUST_GDBGUI="${RUST_GDBGUI:-gdbgui}"
5555

5656
# These arguments get passed through to GDB and make it load the
5757
# Rust pretty printers.
58-
GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\"" \
59-
"-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\"" \
60-
"-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
58+
GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\" \
59+
-iex \"add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY\" \
60+
-iex \"set substitute-path /rustc/$RUSTC_COMMIT_HASH $RUSTC_SYSROOT/lib/rustlib/src/rust\""
6161

6262
# Finally we execute gdbgui.
6363
PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" \

0 commit comments

Comments
 (0)