forked from qt-creator/qt-creator
Debugger: Some parser code consolidation
Change-Id: Icd3afb632cb935fdd95f13db91c9c11a3dea732e Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -807,8 +807,7 @@ void PdbEngine::handleListLocals(const PdbResponse &response)
|
||||
toDelete.insert(item->d.iname);
|
||||
|
||||
foreach (const GdbMi &child, all.children()) {
|
||||
WatchItem *item = new WatchItem(child["iname"].data(), _(child["name"].data()));
|
||||
item->parseWatchData(child);
|
||||
WatchItem *item = new WatchItem(child);
|
||||
handler->insertItem(item);
|
||||
toDelete.remove(item->d.iname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user