From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18469 invoked by alias); 30 Oct 2009 17:25:35 -0000 Received: (qmail 18458 invoked by uid 22791); 30 Oct 2009 17:25:34 -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; Fri, 30 Oct 2009 17:25:29 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9UHPSQD015058; Fri, 30 Oct 2009 13:25:28 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9UHPR04017519; Fri, 30 Oct 2009 13:25:28 -0400 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 n9UHPQLM022672; Fri, 30 Oct 2009 13:25:27 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 55DF337853B; Fri, 30 Oct 2009 11:25:26 -0600 (MDT) From: Tom Tromey To: "Elmenthaler\, Jens" Cc: Subject: Re: Python pretty printers and dynamic cast References: <00bc01ca57d2$0c74a480$255ded80$@com> <58596C4646708B4BB990C44839973330012C1AB4@usplmvpbe001.ent.rt.verigy.net> Reply-To: tromey@redhat.com Date: Fri, 30 Oct 2009 17:51:00 -0000 In-Reply-To: <58596C4646708B4BB990C44839973330012C1AB4@usplmvpbe001.ent.rt.verigy.net> (Jens Elmenthaler's message of "Fri, 30 Oct 2009 10:55:13 -0500") 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-10/txt/msg00412.txt.bz2 >>>>> "Jens" == Elmenthaler, Jens writes: Jens> Is there any way for a python pretty printer to do (or 'mimic') a Jens> dynamic cast, such that I can show the members of the Jens> implementation type where ever I have the interface type? There is nothing built-in yet. We've had a few requests for this, though, and there was a patch posted to the archer list. If you give it a try, let us know how it turns out. Tom