Commit 55de2581 authored by hjk's avatar hjk
Browse files

debugger: output bitfield sizes

parent 1a4a7448
......@@ -1878,6 +1878,10 @@ class Dumper:
with SubItem(self):
child = Item(value[field.name],
item.iname, field.name, field.name)
bitsize = getattr(field, "bitsize", None)
if not bitsize is None:
self.put("bitsize=\"%s\",bitpos=\"%s\","
% (bitsize, bitpos))
self.putItem(child)
......
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