Commit 8062222e authored by hjk's avatar hjk

debugger: fix display of C style 'typedef struct X { ... } X;' types.

parent f0b6bce0
......@@ -928,6 +928,9 @@ def extractFields(type):
# This seems to work.
#warn("TYPE 0: %s" % type)
type = stripTypedefs(type)
fields = type.fields()
if len(fields):
return fields
#warn("TYPE 1: %s" % type)
# This fails for arrays. See comment in lookupType.
type0 = lookupType(str(type))
......
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