Commit 0acae6f8 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

whoops ... amend output receiver rewrite

- remove stale connect()
- clear buffer after it was completely used
parent e00b90cc
......@@ -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()
......
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