fix encoding of manually submitted gdb commands

these can potentially contain file names ...
This commit is contained in:
Oswald Buddenhagen
2009-05-04 19:07:07 +02:00
parent 69ace70236
commit 04f6b3d807

View File

@@ -668,7 +668,7 @@ void GdbEngine::executeDebuggerCommand(const QString &command)
return;
}
m_gdbProc.write(command.toLatin1() + "\r\n");
m_gdbProc.write(command.toLocal8Bit() + "\r\n");
}
void GdbEngine::handleTargetCore(const GdbResultRecord &, const QVariant &)