forked from qt-creator/qt-creator
whoops ... amend output receiver rewrite
- remove stale connect() - clear buffer after it was completely used
This commit is contained in:
@@ -270,8 +270,6 @@ void GdbEngine::initializeConnections()
|
||||
// Output
|
||||
connect(&m_outputCollector, SIGNAL(byteDelivery(QByteArray)),
|
||||
SLOT(readDebugeeOutput(QByteArray)));
|
||||
connect(this, SIGNAL(gdbResponseAvailable()),
|
||||
this, SLOT(handleResponse()), Qt::QueuedConnection);
|
||||
|
||||
connect(this, SIGNAL(gdbOutputAvailable(QString,QString)),
|
||||
q, SLOT(showDebuggerOutput(QString,QString)),
|
||||
@@ -576,6 +574,7 @@ void GdbEngine::readGdbStandardOutput()
|
||||
}
|
||||
handleResponse(QByteArray::fromRawData(m_inbuffer.constData() + start, end - start));
|
||||
}
|
||||
m_inbuffer.clear();
|
||||
}
|
||||
|
||||
void GdbEngine::interruptInferior()
|
||||
|
||||
Reference in New Issue
Block a user