aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-08-25 17:59:49 +0000
committerTom Tromey <tromey@redhat.com>2011-08-25 17:59:49 +0000
commita9f54f60b51892294c3cb60829d98e35cefd3079 (patch)
treeb1ac43435c18170d160f3a8c5925b55167ffbf2e /gdb/doc
parent978e21aec5c373afd168dd16c2f4d7de7f2ddf4f (diff)
downloadgdb-a9f54f60b51892294c3cb60829d98e35cefd3079.zip
gdb-a9f54f60b51892294c3cb60829d98e35cefd3079.tar.gz
gdb-a9f54f60b51892294c3cb60829d98e35cefd3079.tar.bz2
2011-08-25 Andrew Oakley <andrew@ado.is-a-geek.net>
* gdb.texinfo (Types In Python): Document 'bitpos' for enums.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 7e838cf..80038f1 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6e7bf52..23b2a98 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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.