aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/debugger/gdbengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp
index 0989993f7a..66d4ce19f4 100644
--- a/src/plugins/debugger/gdbengine.cpp
+++ b/src/plugins/debugger/gdbengine.cpp
@@ -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()