summaryrefslogtreecommitdiffstats
path: root/src/etc/rust-gdbgui
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/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 9744913b6..590e488e6 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}" \
"${@}"