diff options
author | hjk <qtc-committer@nokia.com> | 2010-12-21 13:34:59 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-12-21 13:36:28 +0100 |
commit | 63eaf1e132286c3e29a16b433bf3d06e7c648324 (patch) | |
tree | fa017f138fae44785306632929ddbbde5b76f361 /src/plugins/debugger/moduleshandler.cpp | |
parent | dc921cc5408fe8845c32918c1e8eab65f3e01f28 (diff) | |
download | qt-creator-63eaf1e132286c3e29a16b433bf3d06e7c648324.tar.gz |
debugger: add an option to load "missing" symbols for current stack
Diffstat (limited to 'src/plugins/debugger/moduleshandler.cpp')
-rw-r--r-- | src/plugins/debugger/moduleshandler.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/plugins/debugger/moduleshandler.cpp b/src/plugins/debugger/moduleshandler.cpp index bb56cef23b..9e57c4b3be 100644 --- a/src/plugins/debugger/moduleshandler.cpp +++ b/src/plugins/debugger/moduleshandler.cpp @@ -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(); |