* python/py-type.c (make_fielditem, typy_field_names, typy_items)
authorPaul Koning <pkoning@equallogic.com>
Wed, 28 Sep 2011 20:04:52 +0000 (20:04 +0000)
committerPaul Koning <pkoning@equallogic.com>
Wed, 28 Sep 2011 20:04:52 +0000 (20:04 +0000)
commita73bb89264f459f0a273b46f32ce911fa82ef92d
tree95713718db2032e0cbacbe6642854d9685161957
parent514c97d3e0e09f75366b973f214441d8cd019c8f
* python/py-type.c (make_fielditem, typy_field_names, typy_items)
(typy_length, typy_get, typy_has_key, typy_make_iter)
(typy_iterkeys, typy_iteritems, typy_itervalues, typy_iter)
(typy_iterator_iter, typy_iterator_iternext)
(typy_iterator_dealloc): New functions to implement standard
Python mapping methods on gdb.Type object.
(gdb.TypeIterator): New Python type.
* python/python-internal.h (gdbpy_iter_kind): New enum.
* doc/gdb.texinfo (gdb.Type): Document field access by dictionary
key syntax.
gdb/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-type.c
gdb/python/python-internal.h