Some Python ideas, looking for feedback
Tue Aug 16 14:45:00 GMT 2011

>On Tuesday 16 August 2011 13:03:42 ext wrote:
>> [...]
>> And a question: is there a way to get the value corresponding to an enum type's value name?  
>> The name comes back in the fields() output but I don't see how I would get the value.  Could that be made a value attribute of the field object?
>int(...) works, or "%d" % ...

That works for Value objects, but not for fields of Type.  But it looks like an obvious way to make it work for Type (rather than a "value" attribute as I suggested earlier).


More information about the Gdb mailing list