forked from qt-creator/qt-creator
debugger: fix inverted logic in m_nonDiscardableCount soft assert
Change-Id: I88dc1be2232608bcf158212fcbd6e82db4cad860 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user