From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30751 invoked by alias); 4 Oct 2008 22:14:19 -0000 Received: (qmail 30730 invoked by uid 22791); 4 Oct 2008 22:14:19 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 04 Oct 2008 22:13:39 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KmFNV-0001WP-Lm for gdb-patches@sources.redhat.com; Sat, 04 Oct 2008 22:13:33 +0000 Received: from 201.82.215.197 ([201.82.215.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 22:13:33 +0000 Received: from bauerman by 201.82.215.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 22:13:33 +0000 To: gdb-patches@sources.redhat.com From: Thiago Jung Bauermann Subject: Re: [rfc] expose gdb values to python Date: Sat, 04 Oct 2008 22:14:00 -0000 Message-ID: References: <1221199426.24580.26.camel@localhost.localdomain> <20080921042657.GB29631@caradoc.them.org> <20080925114659.GA30878@caradoc.them.org> <20081001053853.GD3665@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes 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/msg00117.txt.bz2 Joel Brobecker wrote: >> + 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 :-(). Yes, there are a few levels of quoting involved in that. :-/ > Anyway, this forced me to have a heada..., I mean focus, and I noticed > a typo: "acess" -> "access". Fixed, thanks! -- []'s Thiago Jung Bauermann IBM Linux Technology Center