diff options
author | Friedemann Kleint <[email protected]> | 2009-11-25 16:32:44 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2009-11-25 16:32:44 +0100 |
commit | 2b23ea2a8ac8166820b76476b18fd7fd7014e695 (patch) | |
tree | db212c39dc162b992f58d72dff38c9386068a026 /src/plugins/debugger/watchutils.cpp | |
parent | 32dd4567c819ce42a0bbf53446798800c6c498fd (diff) |
Debugger/CDB: Windows 64 integer handling.
Convert CDB unsigned integer values should they appear in hex,
make format flexible.
Use int64 for reformatting integers to be able to accommodate
64 bit values on Windows 64. Add some more integer types.
Do not save decimal type formats. Add menu option to clear
individual formatting. Do not use map[] to query the type formats
(inserting 0 everywhere as a side effect).
Reviewed-by: Oswald Buddenhagen <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchutils.cpp')
-rw-r--r-- | src/plugins/debugger/watchutils.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp index 1e1137694fd..f5ef9250e7e 100644 --- a/src/plugins/debugger/watchutils.cpp +++ b/src/plugins/debugger/watchutils.cpp @@ -542,8 +542,13 @@ bool isIntType(const QString &type) << QLatin1String("long") << QLatin1String("bool") << QLatin1String("signed char") << QLatin1String("unsigned") << QLatin1String("unsigned char") << QLatin1String("unsigned long") - << QLatin1String("long long") << QLatin1String("unsigned long long"); - return type.endsWith(QLatin1String(" int")) || types.contains(type); + << QLatin1String("long long") << QLatin1String("unsigned long long") + << QLatin1String("qint16") << QLatin1String("quint16") + << QLatin1String("qint32") << QLatin1String("quint32") + << QLatin1String("qint64") << QLatin1String("quint64"); + return type.endsWith(QLatin1String(" int")) + || type.endsWith(QLatin1String(" int64")) + || types.contains(type); } bool isSymbianIntType(const QString &type) |