Commit cb7bc388 authored by hjk's avatar hjk
Browse files

debugger: don't try to show a reason for stopping if we don't know one.

parent fae36d9f
......@@ -1131,7 +1131,10 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
}
}
#endif
q->showStatusMessage(tr("Stopped: \"%1\"").arg(_(reason)));
if (reason.isEmpty())
q->showStatusMessage(tr("Stopped."));
else
q->showStatusMessage(tr("Stopped: \"%1\"").arg(_(reason)));
handleAsyncOutput2(data);
}
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