summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/registerhandler.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-23 13:22:08 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-23 13:22:08 +0200
commit13c97d652eb7985927bff2eb38d1f8c5ce226007 (patch)
treed4b42dfba92b8c862522d00ac68752c3a6a75056 /src/plugins/debugger/registerhandler.cpp
parentd81d90a67ac34d169019e057f901ade3046f6ff3 (diff)
downloadqt-creator-13c97d652eb7985927bff2eb38d1f8c5ce226007.tar.gz
Debugger: Fixes around watch editing.
assignValueInDebugger: Pass on WatchData as well, pass on values as QVariant. Based on that, do more extensive checks in CDB, preventing assignment of non-PODs. Locals/Watch editing: * Disable while running * Edit pointer values as hex with validation. CDB: Strip class types off reported pointer values and reformat the values as short 0x-pointer values, introduce flag to WatchData::source to do dumper expansion handling. Windows: recognize int64 as int. Register handler: Fix accessing uninitialized value.
Diffstat (limited to 'src/plugins/debugger/registerhandler.cpp')
-rw-r--r--src/plugins/debugger/registerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/registerhandler.cpp b/src/plugins/debugger/registerhandler.cpp
index 5c2d85352c..3d641b3587 100644
--- a/src/plugins/debugger/registerhandler.cpp
+++ b/src/plugins/debugger/registerhandler.cpp
@@ -54,7 +54,7 @@ using namespace Debugger::Constants;
//////////////////////////////////////////////////////////////////
RegisterHandler::RegisterHandler(DebuggerEngine *engine)
- : m_engine(engine)
+ : m_engine(engine), m_base(15)
{
setNumberBase(16);
}