From: Joel Brobecker Date: Sat, 28 Dec 2013 03:24:36 +0000 (+0400) Subject: Clarify documentation of the gdb.Field.bitpos attribute X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fba4c0ff52c360549dc8fac4048b54f87e9d267;p=binutils-gdb.git Clarify documentation of the gdb.Field.bitpos attribute gdb/doc/ChangeLog: * gdb.texinfo (Types In Python): Clarify the documentation of attribute gdb.Field.bitpos. --- 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 + + * gdb.texinfo (Types In Python): Clarify the documentation + of attribute gdb.Field.bitpos. + 2013-12-28 Joel Brobecker * 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