From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22941 invoked by alias); 1 Oct 2008 05:39:34 -0000 Received: (qmail 22807 invoked by uid 22791); 1 Oct 2008 05:39:33 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Oct 2008 05:38:57 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id F12AD2A96A3; Wed, 1 Oct 2008 01:38:55 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lF06SCZUVW9h; Wed, 1 Oct 2008 01:38:55 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id AE3BA2A968F; Wed, 1 Oct 2008 01:38:55 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 64B7FE7ACD; Tue, 30 Sep 2008 22:38:53 -0700 (PDT) Date: Wed, 01 Oct 2008 05:39:00 -0000 From: Joel Brobecker To: Thiago Jung Bauermann Cc: gdb-patches@sources.redhat.com Subject: Re: [rfc] expose gdb values to python Message-ID: <20081001053853.GD3665@adacore.com> References: <1221199426.24580.26.camel@localhost.localdomain> <20080921042657.GB29631@caradoc.them.org> <20080925114659.GA30878@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00004.txt.bz2 > + gdb_test "python print 'result = ' + str(s\['a'\])" " = 3" "acess element inside struct using 8-bit string name" > + gdb_test "python print 'result = ' + str(s\[u'a'\])" " = 3" "acess element inside struct using unicode name" (Humpf, it's getting really hard sometimes to read these tests :-(). Anyway, this forced me to have a heada..., I mean focus, and I noticed a typo: "acess" -> "access". -- Joel