OSDN Git Service

2011-08-25 Andrew Oakley <andrew@ado.is-a-geek.net>
authortromey <tromey>
Thu, 25 Aug 2011 17:59:48 +0000 (17:59 +0000)
committertromey <tromey>
Thu, 25 Aug 2011 17:59:48 +0000 (17:59 +0000)
* gdb.texinfo (Types In Python): Document 'bitpos' for enums.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 7e838cf..80038f1 100644 (file)
@@ -1,3 +1,7 @@
+2011-08-25  Andrew Oakley  <andrew@ado.is-a-geek.net>
+
+       * gdb.texinfo (Types In Python): Document 'bitpos' for enums.
+
 2011-08-17  Phil Muldoon  <pmuldoon@redhat.com>
 
         * gdb.texinfo (Prompt): Add set/show extended-prompt
index 6e7bf52..23b2a98 100644 (file)
@@ -21575,7 +21575,8 @@ Each field is an object, with some pre-defined attributes:
 @item bitpos
 This attribute is not available for @code{static} fields (as in
 C@t{++} or Java).  For non-@code{static} fields, the value is the bit
-position of the field.
+position of the field.  For @code{enum} fields, the value is the
+enumeration member's integer representation.
 
 @item name
 The name of the field, or @code{None} for anonymous fields.