Commit 075f55e0 authored by hjk's avatar hjk
Browse files

Debugger: Memorize results of pointer lookups



Change-Id: If3dfdd21ac0737af7ee205b376b57d6e58ff6f91
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 47afc213
......@@ -891,7 +891,9 @@ class Dumper(DumperBase):
return 4
def ptrSize(self):
return self.lookupType('void*').sizeof
self.cachedPtrSize = self.lookupType('void*').sizeof
self.ptrSize = lambda: self.cachedPtrSize
return self.cachedPtrSize
def createValue(self, address, referencedType):
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment