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] more Type methods


This adds a few new methods to Type.  A potential gdb-python user
needed these.

This also fixes a small bug; I found a bit of code in the type support
that needed a thread-safety fix.

These methods provide enough Type inspection support that we can write
a simple "pahole"-like command purely in Python.  I've attached it for
reference.

Tom

Attachment: P
Description: new Type methods

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]