Commits

Christoph Schindler committed 108add7

Print reference index when dumping offset table.

Comments (0)

Files changed (1)

contrib/dump_plist

     offsettable = iter(plist[offset:-32])
     it = izip_longest(*([offsettable] * objrefsize))
     for t in it:
-        dump(offset, ''.join(t), '%is' % objrefsize, 'object refs')
+        dump(offset, ''.join(t), '%is' % objrefsize,
+                'object ref 0x%02x' % (offset - offset_table_offset))
         offset += objrefsize
 
     print