From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17185 invoked by alias); 17 Sep 2010 07:35:18 -0000 Received: (qmail 16958 invoked by uid 22791); 17 Sep 2010 07:35:17 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Sep 2010 07:35:12 +0000 Received: by wyb36 with SMTP id 36so2666741wyb.0 for ; Fri, 17 Sep 2010 00:35:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.71.206 with SMTP id r56mr425031wed.29.1284708909965; Fri, 17 Sep 2010 00:35:09 -0700 (PDT) Received: by 10.216.70.81 with HTTP; Fri, 17 Sep 2010 00:35:09 -0700 (PDT) In-Reply-To: References: <201009161148.37670.andre.poenitz@nokia.com> Date: Fri, 17 Sep 2010 07:35:00 -0000 Message-ID: Subject: Re: Python API questions and use cases From: =?ISO-8859-1?Q?Joel_Borggr=E9n=2DFranck?= To: Tom Tromey Cc: =?ISO-8859-1?B?QW5kcukgUPZuaXR6?= , 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: 2010-09/txt/msg00105.txt.bz2 On Thu, Sep 16, 2010 at 9:11 PM, Tom Tromey wrote: >>>>>> "Joel" =3D=3D Joel Borggr=E9n-Franck writes: > > Joel> This might be a case of missing (or obscure) documentation. Is ther= e a > Joel> place (other than the C impl.) where I can find documentation for t= he > Joel> constructors/inits for the different gdb.XYZ types? > > The gdb manual should have full documentation for the Python API. > I say "should" because we did find an undocumented method once, so it is > possible that there are others that we missed. =A0But by and large the > manual describes it all. > Ok. Looking here: http://sourceware.org/gdb/current/onlinedocs/gdb/Values-From-= Inferior.html#Values-From-Inferior I can't find documentation for the constructor Andr=E9 showed me: gdb.Value(addr). From my perspective that was something I had looked for and needed but couldn't find through the current doc. It might be the case that it is considered implicit, like "everyone knows you can just create new gdb.Values" but I obviously had to ask here to figure it out :) I think this would be a good addition. Cheers Joel