From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3806 invoked by alias); 17 Aug 2011 19:35:24 -0000 Received: (qmail 3687 invoked by uid 22791); 17 Aug 2011 19:35:23 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from adoakley.name (HELO ado.is-a-geek.net) (46.4.104.242) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Aug 2011 19:35:09 +0000 Received: from ado-gentoo.moore.slainvet.net ([2001:8b0:393:0:223:54ff:fe39:b789] helo=ado-gentoo) by ado.is-a-geek.net with esmtpa (Exim 4.76) (envelope-from ) id 1QtlrD-0007VP-04; Wed, 17 Aug 2011 19:32:55 +0000 Date: Wed, 17 Aug 2011 19:35:00 -0000 From: Andrew Oakley To: gdb@sourceware.org Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: Some Python ideas, looking for feedback Message-ID: <20110817203525.6d789493@ado-gentoo> In-Reply-To: <83sjozsuor.fsf@gnu.org> References: <09787EF419216C41A903FD14EE5506DD0151D583A2@AUSX7MCPC103.AMER.DELL.COM> <201108161345.33448.andre.poenitz@nokia.com> <09787EF419216C41A903FD14EE5506DD0151D585D2@AUSX7MCPC103.AMER.DELL.COM> <20110817193710.59945561@ado-gentoo> <20110817201316.64fc14e5@ado-gentoo> <83sjozsuor.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00078.txt.bz2 On Wed, 17 Aug 2011 22:29:40 +0300 Eli Zaretskii wrote: > > Date: Wed, 17 Aug 2011 20:13:16 +0100 > > From: Andrew Oakley > > Cc: > > > > -position of the field. > > +position of the field. For @code{enum} fields, the value is the > > enumeration +member's integer representation. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > I don't understand this part. Can you elaborate, please? In > particular, what does that `+' stand for? Oops. That's a broken copy + paste into a email compose window. I should have used git send-email so that didn't happen :(. "Fixed" version: diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 6e7bf52..c82173b 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. -- Andrew Oakley