Commit c951e5b6 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

reset output converter state again

parent 1d6da504
...@@ -289,13 +289,13 @@ void GdbEngine::initializeVariables() ...@@ -289,13 +289,13 @@ void GdbEngine::initializeVariables()
m_inbuffer.clear(); m_inbuffer.clear();
// ConverterState has no reset() function.
m_outputCodecState.~ConverterState();
new (&m_outputCodecState) QTextCodec::ConverterState();
m_currentFunctionArgs.clear(); m_currentFunctionArgs.clear();
m_currentFrame.clear(); m_currentFrame.clear();
m_dumperHelper.clear(); m_dumperHelper.clear();
// FIXME: unhandled:
//m_outputCodecState = QTextCodec::ConverterState();
//m_gdbAdapter;
} }
QString GdbEngine::errorMessage(QProcess::ProcessError error) QString GdbEngine::errorMessage(QProcess::ProcessError error)
......
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