Dumper: Adapt to Id that moved from Core to Utils

Change-Id: I6437d813234dc22923a313d540f115e070edeba7
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Orgad Shaneh
2020-07-03 11:36:55 +03:00
committed by Orgad Shaneh
parent 11a7ccb865
commit e3312205ed
2 changed files with 6 additions and 3 deletions

View File

@@ -514,7 +514,10 @@ class Dumper(DumperBase):
raise Exception("cdb does not support calling functions")
def nameForCoreId(self, id):
idName = cdbext.call('Cored4!Core::nameForId(%d)' % id)
for dll in ['Utilsd4', 'Utils4']:
idName = cdbext.call('%s!Utils::nameForId(%d)' % (dll, id))
if idName is not None:
break
return self.fromNativeValue(idName)
def putCallItem(self, name, rettype, value, func, *args):