Skip to content

Commit 3c23567

Browse files
authored
Rollup merge of #99194 - simlay:simlay/update-rust-gdbgui-gdb-args-to-gdb-cmd, r=Mark-Simulacrum
Fix gdb-cmd for rust-gdbgui With cs01/gdbgui#198, the way that gdbgui arguments were specified changed. I've tested this with program generated from `cargo new --bin` and it worked as gdbgui should. Closes #76383.
2 parents 8796e7a + f1ff74f commit 3c23567

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/etc/rust-gdbgui

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\" -iex \"add-auto-load-safe
5858
# Finally we execute gdbgui.
5959
PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" \
6060
exec ${RUST_GDBGUI} \
61-
--gdb ${RUST_GDB} \
62-
--gdb-args "${GDB_ARGS}" \
61+
--gdb-cmd "${RUST_GDB} ${GDB_ARGS}" \
6362
"${@}"
6463

0 commit comments

Comments
 (0)