This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[python] make Fields into real objects


After playing with Type.fields() a bit I came around to implementing
Fields as real objects, with attributes.  This makes them nicer to use
than dictionaries.

This patch implements this change.  I've also attached an updated
version of the "pahole" command.

Tom

Attachment: P
Description: patch

Attachment: pahole.py
Description: pahole.py


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]