debugger: fix inverted logic in m_nonDiscardableCount soft assert

Change-Id: I88dc1be2232608bcf158212fcbd6e82db4cad860
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-12-15 12:24:42 +01:00
committed by hjk
parent 73c18adf10
commit 3913d8ced0

View File

@@ -2278,7 +2278,7 @@ void GdbEngine::handleExecuteReturn(const GdbResponse &response)
void GdbEngine::setTokenBarrier()
{
QTC_ASSERT(m_nonDiscardableCount > 0, /**/);
QTC_ASSERT(m_nonDiscardableCount == 0, /**/);
bool good = true;
QHashIterator<int, GdbCommand> it(m_cookieForToken);
while (it.hasNext()) {