From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18952 invoked by alias); 17 Aug 2011 20:52:09 -0000 Received: (qmail 18934 invoked by uid 22791); 17 Aug 2011 20:52:08 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Aug 2011 20:51:54 +0000 Received: by eye22 with SMTP id 22so897136eye.0 for ; Wed, 17 Aug 2011 13:51:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.152.81 with SMTP id c57mr528880eek.184.1313614312706; Wed, 17 Aug 2011 13:51:52 -0700 (PDT) Received: by 10.14.47.15 with HTTP; Wed, 17 Aug 2011 13:51:52 -0700 (PDT) In-Reply-To: <20110817201316.64fc14e5@ado-gentoo> 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> Date: Wed, 17 Aug 2011 20:52:00 -0000 Message-ID: Subject: Re: Some Python ideas, looking for feedback From: Daniel Jacobowitz To: Andrew Oakley Cc: gdb-patches@sourceware.org, gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00080.txt.bz2 On Wed, Aug 17, 2011 at 3:13 PM, Andrew Oakley w= rote: > On Wed, 17 Aug 2011 19:37:10 +0100 > Andrew Oakley wrote: >> What you are looking for is (for some reason) stored in bitpos. =A0I >> can't actually find any documentation for this :(. > > Perhaps we should fix that: > > Document gdb.Value field attribute "bitpos" for enums. I don't suppose we can avoid exposing this internal C wart to Python, and expose it some other way... ? --=20 Thanks, Daniel