about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSebastian Imlay <sebastian.imlay@gmail.com>2022-07-12 18:30:05 -0400
committerSebastian Imlay <sebastian.imlay@gmail.com>2022-07-12 18:30:05 -0400
commitf1ff74ff967cff9634fff73a88cd9d4b93c2ba3f (patch)
tree7e103a37297d7a1302dfaee8dff73eb6cc401f7d
parent38b72154ded23847cd08a796d0c6708b5efac265 (diff)
downloadrust-f1ff74ff967cff9634fff73a88cd9d4b93c2ba3f.tar.gz
rust-f1ff74ff967cff9634fff73a88cd9d4b93c2ba3f.zip
Fix gdb-cmd for rust-gdbgui
-rwxr-xr-xsrc/etc/rust-gdbgui3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/etc/rust-gdbgui b/src/etc/rust-gdbgui
index 9744913b686..590e488e643 100755
--- a/src/etc/rust-gdbgui
+++ b/src/etc/rust-gdbgui
@@ -58,7 +58,6 @@ GDB_ARGS="--directory=\"$GDB_PYTHON_MODULE_DIRECTORY\" -iex \"add-auto-load-safe
 # Finally we execute gdbgui.
 PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" \
   exec ${RUST_GDBGUI} \
-  --gdb ${RUST_GDB} \
-  --gdb-args "${GDB_ARGS}" \
+  --gdb-cmd "${RUST_GDB} ${GDB_ARGS}" \
   "${@}"