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]

Re: kudos and suggestions


>>>>> "Graydon" == Graydon Hoare <graydon@pobox.com> writes:

Graydon> [...] converting from a gdb Value of an enumerated C type to its
Graydon> pythonic integer value is not-entirely trivial. I have to guess the
Graydon> compiler's representation type and perform a cast, such as:
Graydon>   int(v.cast(gdb.Type('uint8_t')))

Just FYI -- I have a patch for this.  It is just a missing case in
valpy_int.

I'll push it once I have written a test case... probably not today.
I'll also respond to the rest of your note soon.

Tom


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