If I build nightly and try to run rust-gdb I get: ``` $ rust-gdb gdb: unrecognized option `-iex' Use `gdb --help' for a complete list of options. ``` If I look at the `rust-gdb` installed in `build-rust/install_dir/nightly/bin` I see: ``` PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" gdb \ -d "$GDB_PYTHON_MODULE_DIRECTORY" \ -iex "add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY" \ "$@" ``` Changing `gdb` to `egdb` solves the problem. [There may be a way that doesn't rely on egcc, but this worked for me!]