Debugger: Remove state check on cdb interrupt.

When breakpoints are inserted we are also calling this function,
but the state isn't set to InferiorStopRequested.

Change-Id: If448e7596c9c08cebdc8b2ed5b23df0e232fd817
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
David Schulz
2013-11-12 10:49:50 +01:00
parent a7872c63b0
commit 58796158a8

View File

@@ -1198,7 +1198,6 @@ void CdbEngine::doInterruptInferior(SpecialStopMode sm)
{
showMessage(QString::fromLatin1("Interrupting process %1...").arg(inferiorPid()), LogMisc);
QTC_ASSERT(state() == InferiorStopRequested, qDebug() << state(); notifyInferiorStopFailed(); return;);
QTC_ASSERT(!m_signalOperation, notifyInferiorStopFailed(); return;);
m_signalOperation = startParameters().device->signalOperation();
m_specialStopMode = sm;