From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5017 invoked by alias); 29 Jun 2009 19:13:09 -0000 Received: (qmail 4942 invoked by uid 22791); 29 Jun 2009 19:13:08 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 19:12:34 +0000 Received: by qw-out-1920.google.com with SMTP id 5so2122735qwf.24 for ; Mon, 29 Jun 2009 12:12:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.72.194 with SMTP id n2mr4442769vcj.36.1246302752155; Mon, 29 Jun 2009 12:12:32 -0700 (PDT) In-Reply-To: <8ac60eac0906291050k52e534a9peab3aa2b2345dbe@mail.gmail.com> References: <629542d40906281214x73c3b505nfeb7e7eecfb1f708@mail.gmail.com> <8ac60eac0906291050k52e534a9peab3aa2b2345dbe@mail.gmail.com> Date: Mon, 29 Jun 2009 19:13:00 -0000 Message-ID: <629542d40906291212n646c4696r42b65c4821b88aca@mail.gmail.com> Subject: Re: Execute code in python pretty printers From: Niko Sams To: Paul Pluzhnikov Cc: tromey@redhat.com, gdb Content-Type: text/plain; charset=ISO-8859-1 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: 2009-06/txt/msg00315.txt.bz2 On Mon, Jun 29, 2009 at 19:50, Paul Pluzhnikov wrote: > On Mon, Jun 29, 2009 at 10:07 AM, Tom Tromey wrote: > >> Niko> So to find out the parent the method has to be executed. >> Niko> Is this possible? >> >> No, we have not implemented inferior function calls on Value yet. > > But I believe it *is* possible (if ugly): > http://sourceware.org/ml/archer/2009-q2/msg00197.html hmm... that doesn't work for me: NameError: global name 'parse_and_eval' is not defined Niko