diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-27 09:45:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-27 09:45:19 +0200 |
| commit | fd5a8e12619f6327f09fcce2bef0d5a59639ca58 (patch) | |
| tree | 06ff5be637bfc7aa9a4172edb9bf68335fcffc96 | |
| parent | 922b827b8c6cd98651d709ef98d8ee6838f43c84 (diff) | |
| parent | efa41ef8036a2b85d088ac3f203ee31ec0d99827 (diff) | |
| download | rust-fd5a8e12619f6327f09fcce2bef0d5a59639ca58.tar.gz rust-fd5a8e12619f6327f09fcce2bef0d5a59639ca58.zip | |
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 https://github.com/rust-lang/rust/commit/8dd0ec6de7c8473e5730972c4e6206d5fb47b4e6. Modified script tested and now works on Ubuntu w/ `dash`. Fixes https://github.com/rust-lang/rust/issues/115097
| -rwxr-xr-x | src/etc/rust-gdbgui | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/rust-gdbgui b/src/etc/rust-gdbgui index 913269316bd..471810cbb18 100755 --- a/src/etc/rust-gdbgui +++ b/src/etc/rust-gdbgui @@ -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" \ |
