aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2013-12-28 07:24:36 +0400
committerJoel Brobecker <brobecker@adacore.com>2013-12-30 06:52:43 +0400
commit5fba4c0ff52c360549dc8fac4048b54f87e9d267 (patch)
treec6cce8fda6f983b488c89fb8226949edf7580ae9
parentc248fc1d2638dc283f455b51b89bc7d5f81a2a8c (diff)
downloadfsf-binutils-gdb-5fba4c0ff52c360549dc8fac4048b54f87e9d267.zip
fsf-binutils-gdb-5fba4c0ff52c360549dc8fac4048b54f87e9d267.tar.gz
fsf-binutils-gdb-5fba4c0ff52c360549dc8fac4048b54f87e9d267.tar.bz2
Clarify documentation of the gdb.Field.bitpos attribute
gdb/doc/ChangeLog: * gdb.texinfo (Types In Python): Clarify the documentation of attribute gdb.Field.bitpos.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 0df308d..a7e1c2f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-30 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.texinfo (Types In Python): Clarify the documentation
+ of attribute gdb.Field.bitpos.
+
2013-12-28 Joel Brobecker <brobecker@adacore.com>
* gdb.texinfo (Types In Python): Fix the documentation of
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 3fa0999..a60e6cf 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -24338,8 +24338,8 @@ Each field is a @code{gdb.Field} object, with some pre-defined attributes:
@table @code
@item bitpos
This attribute is not available for @code{enum} or @code{static}
-(as in C@t{++} or Java) fields. The value is the bit position of
-the field.
+(as in C@t{++} or Java) fields. The value is the position, counting
+in bits, from the start of the containing type.
@item enumval
This attribute is only available for @code{enum} fields, and its value