From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8454 invoked by alias); 29 Jun 2009 19:18:16 -0000 Received: (qmail 8444 invoked by uid 22791); 29 Jun 2009 19:18:14 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 19:18:08 +0000 Received: from zps35.corp.google.com (zps35.corp.google.com [172.25.146.35]) by smtp-out.google.com with ESMTP id n5TJI36I009041 for ; Mon, 29 Jun 2009 20:18:04 +0100 Received: from qw-out-2122.google.com (qwi5.prod.google.com [10.241.195.5]) by zps35.corp.google.com with ESMTP id n5TJI1Ym016928 for ; Mon, 29 Jun 2009 12:18:01 -0700 Received: by qw-out-2122.google.com with SMTP id 5so1693645qwi.39 for ; Mon, 29 Jun 2009 12:18:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.98.200 with SMTP id r8mr1607230qcn.5.1246303081010; Mon, 29 Jun 2009 12:18:01 -0700 (PDT) In-Reply-To: <629542d40906291212n646c4696r42b65c4821b88aca@mail.gmail.com> References: <629542d40906281214x73c3b505nfeb7e7eecfb1f708@mail.gmail.com> <8ac60eac0906291050k52e534a9peab3aa2b2345dbe@mail.gmail.com> <629542d40906291212n646c4696r42b65c4821b88aca@mail.gmail.com> Date: Mon, 29 Jun 2009 19:18:00 -0000 Message-ID: <8ac60eac0906291218s32d45600h473e6960d20bd5a5@mail.gmail.com> Subject: Re: Execute code in python pretty printers From: Paul Pluzhnikov To: Niko Sams Cc: tromey@redhat.com, gdb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true 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/msg00316.txt.bz2 On Mon, Jun 29, 2009 at 12:12 PM, Niko Sams wrote: >> 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 Right. You need archer-tromey-python branch, or this not-yet-committed patch to mainline: http://sourceware.org/ml/gdb-patches/2009-06/msg00326.html -- Paul Pluzhnikov