Debugger: Streamline GdbMi structure interface

Change-Id: If9c4d1ae8b05a5dae7d6a1a7534e49d1966dd493
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-02-26 08:39:40 +01:00
parent 1c59dd1837
commit 623de07ab9
3 changed files with 15 additions and 22 deletions

View File

@@ -1874,7 +1874,7 @@ void CdbEngine::handleLocals(const CdbCommandPtr &reply, int flags)
}
GdbMi root;
root.fromString(reply->extensionReply);
QTC_ASSERT(root.isList(), return);
QTC_ASSERT(root.type() == GdbMi::List, return);
if (debugLocals)
qDebug() << root.toString(true, 4);
// Courtesy of GDB engine