debugger: add an option to load "missing" symbols for current stack

This commit is contained in:
hjk
2010-12-21 13:34:59 +01:00
parent dc921cc540
commit 63eaf1e132
9 changed files with 59 additions and 15 deletions

View File

@@ -107,11 +107,17 @@ QVariant ModulesModel::data(const QModelIndex &index, int role) const
break;
case 4:
if (role == Qt::DisplayRole)
return module.startAddress;
return QString(QLatin1String("0x")
+ QString::number(module.startAddress, 16));
break;
case 5:
if (role == Qt::DisplayRole)
return module.endAddress;
if (role == Qt::DisplayRole) {
if (module.endAddress)
return QString(QLatin1String("0x")
+ QString::number(module.endAddress, 16));
//: End address of loaded module
return tr("<unknown>", "address");
}
break;
}
return QVariant();