debugger: use the bineditor to show memory dumps

This commit is contained in:
hjk
2009-08-12 10:51:25 +02:00
parent 0c6b754a06
commit 89ffffc183
19 changed files with 308 additions and 53 deletions

View File

@@ -690,6 +690,16 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
return m_handler->m_typeFormats[data.type];
return format;
}
case AddressRole: {
if (!data.addr.isEmpty())
return data.addr;
bool ok;
(void) data.value.toULongLong(&ok, 0);
if (ok)
return data.value;
return QVariant();
}
default:
break;