Commit 31f95678 authored by Niko Sams's avatar Niko Sams
Browse files

send command as utf8, as the communication charset is utf8

fixes non-ascii file paths.
BUG: 294004
parent d2a57c4e
......@@ -134,8 +134,9 @@ void GDB::execute(GDBCommand* command)
isRunning_ = false;
receivedReply_ = false;
QByteArray commandUtf8 = commandText.toUtf8();
process_->write(commandUtf8, commandUtf8.length());
QString prettyCmd = currentCmd_->cmdToSend();
prettyCmd.remove( QRegExp("set prompt \032.\n") );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment