From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4439 invoked by alias); 10 Nov 2009 20:49:03 -0000 Received: (qmail 4421 invoked by uid 22791); 10 Nov 2009 20:49:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Nov 2009 20:48:58 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAAKmrrl003470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Nov 2009 15:48:53 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAAKmqet025809; Tue, 10 Nov 2009 15:48:52 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id nAAKmp5G006544; Tue, 10 Nov 2009 15:48:51 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id CEDA33782CF; Tue, 10 Nov 2009 13:48:50 -0700 (MST) From: Tom Tromey To: Paul Pluzhnikov Cc: Paul Koning , "Elmenthaler\, Jens" , gdb@sourceware.org, archer@sourceware.org, dje@google.com Subject: Re: [python] Pretty-printers and addressprint References: <20091110021158.C3C2576D70@ppluzhnikov.mtv.corp.google.com> <58596C4646708B4BB990C44839973330013A61DE@usplmvpbe001.ent.rt.verigy.net> <8ac60eac0911100006yc31e2acmba7bf9fde33ddfa@mail.gmail.com> <8ac60eac0911100744t5335a44fn7175e2d5c512e450@mail.gmail.com> <8ac60eac0911100902t6619b0a3p57186ac3411f2c8b@mail.gmail.com> Reply-To: tromey@redhat.com Date: Wed, 11 Nov 2009 02:06:00 -0000 In-Reply-To: <8ac60eac0911100902t6619b0a3p57186ac3411f2c8b@mail.gmail.com> (Paul Pluzhnikov's message of "Tue, 10 Nov 2009 09:02:55 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-11/txt/msg00126.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: >> What you want instead is repr(value.string()), at least if you want to >> try this route. Paul> That of course can't work, since it's the value.string() which Paul> raises exception. Yeah, oops on me. I think your patch was fine. Or, if people don't like that, we can always have an "addressprint for pretty-printing" option. Tom