forked from qt-creator/qt-creator
Debugger: Replace the native void type with a fake void type
The native void type returns errors when accessing for example size or name. Change-Id: Ia5826ff4894eb7205d37a15661b82d9410171413 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -110,6 +110,9 @@ class Dumper(DumperBase):
|
||||
self.check(isinstance(nativeType, cdbext.Type))
|
||||
code = nativeType.code()
|
||||
|
||||
if nativeType.name().startswith('void'):
|
||||
nativeType = FakeVoidType(nativeType.name(), self)
|
||||
|
||||
if code == TypeCodePointer:
|
||||
targetType = self.fromNativeType(nativeType.target().unqualified())
|
||||
return self.createPointerType(targetType)
|
||||
|
Reference in New Issue
Block a user