> > gdb/doc/ChangeLog: > > > > * gdb.texinfo (Types In Python): Fix the documentation of > > attribute "bitpos" in class gdb.Field for enum types. Add > > documentation for attribute "enumval" in that same class. > > > > Tested on x86_linux. OK to check in? > > I guess so, although I'm not sure the reader will always understand > the exact meaning of "bit position of the field". Maybe we should > explain some more? This is independent from the change I was making, but true, so attached is a patch that tries to help. In the meantime, the patch above is now in. gdb/doc/ChangeLog: * gdb.texinfo (Types In Python): Clarify the documentation of attribute gdb.Field.bitpos. -- Joel