diff options
author | Joel Brobecker <brobecker@adacore.com> | 2013-12-28 07:24:36 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2013-12-30 06:52:43 +0400 |
commit | 5fba4c0ff52c360549dc8fac4048b54f87e9d267 (patch) | |
tree | c6cce8fda6f983b488c89fb8226949edf7580ae9 | |
parent | c248fc1d2638dc283f455b51b89bc7d5f81a2a8c (diff) | |
download | binutils-gdb-5fba4c0ff52c360549dc8fac4048b54f87e9d267.tar.gz |
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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0df308ddb0f..a7e1c2f06d3 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 3fa09999769..a60e6cff93d 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 |