forked from qt-creator/qt-creator
properly decode messages from gdb
... using fromLocal8Bit instead of fromLatin1. of course the localized messages pose a "challenge" for the various workarounds which parse them ... Task-number: QTCREATORBUG-504
This commit is contained in:
@@ -143,7 +143,7 @@ void TermGdbAdapter::handleStubAttached(const GdbResponse &response)
|
||||
m_engine->postCommand(_("-stack-list-frames 0 0"), CB(handleEntryPoint));
|
||||
#endif
|
||||
} else if (response.resultClass == GdbResultError) {
|
||||
QString msg = _(response.data.findChild("msg").data());
|
||||
QString msg = QString::fromLocal8Bit(response.data.findChild("msg").data());
|
||||
emit inferiorStartFailed(msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user