Commit 8fdf9e61 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove "stopped" which is immediately followed by "processing queued..."

parent 0eca1500
...@@ -1037,15 +1037,13 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data) ...@@ -1037,15 +1037,13 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
if (!m_commandsToRunOnTemporaryBreak.isEmpty()) { if (!m_commandsToRunOnTemporaryBreak.isEmpty()) {
QTC_ASSERT(state() == InferiorStopping, qDebug() << state()) QTC_ASSERT(state() == InferiorStopping, qDebug() << state())
setState(InferiorStopped); setState(InferiorStopped);
showStatusMessage(tr("Stopped."), 5000); showStatusMessage(tr("Processing queued commands."), 1000);
// FIXME: racy
while (!m_commandsToRunOnTemporaryBreak.isEmpty()) { while (!m_commandsToRunOnTemporaryBreak.isEmpty()) {
GdbCommand cmd = m_commandsToRunOnTemporaryBreak.takeFirst(); GdbCommand cmd = m_commandsToRunOnTemporaryBreak.takeFirst();
debugMessage(_("RUNNING QUEUED COMMAND %1 %2") debugMessage(_("RUNNING QUEUED COMMAND %1 %2")
.arg(cmd.command).arg(_(cmd.callbackName))); .arg(cmd.command).arg(_(cmd.callbackName)));
flushCommand(cmd); flushCommand(cmd);
} }
showStatusMessage(tr("Processing queued commands."), 1000);
QTC_ASSERT(m_commandsDoneCallback == 0, /**/); QTC_ASSERT(m_commandsDoneCallback == 0, /**/);
m_commandsDoneCallback = &GdbEngine::autoContinueInferior; m_commandsDoneCallback = &GdbEngine::autoContinueInferior;
return; return;
......
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