From 5fba4c0ff52c360549dc8fac4048b54f87e9d267 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sat, 28 Dec 2013 07:24:36 +0400 Subject: [PATCH] Clarify documentation of the gdb.Field.bitpos attribute gdb/doc/ChangeLog: * gdb.texinfo (Types In Python): Clarify the documentation of attribute gdb.Field.bitpos. --- gdb/doc/ChangeLog | 5 +++++ 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 + + * 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 -- 2.30.2