Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Elmenthaler\, Jens" <jens.elmenthaler@verigy.com>
Cc: <gdb@sourceware.org>
Subject: Re: Python pretty printers and dynamic cast
Date: Fri, 30 Oct 2009 17:51:00 -0000	[thread overview]
Message-ID: <m3skd0pzeh.fsf@fleche.redhat.com> (raw)
In-Reply-To: <58596C4646708B4BB990C44839973330012C1AB4@usplmvpbe001.ent.rt.verigy.net> 	(Jens Elmenthaler's message of "Fri, 30 Oct 2009 10:55:13 -0500")

>>>>> "Jens" == Elmenthaler, Jens <jens.elmenthaler@verigy.com> 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


  reply	other threads:[~2009-10-30 17:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 14:50 simulator for sparc64? Joel Sherrill
2009-10-28 10:20 ` Doug Evans
2009-10-28 12:58   ` Joel Sherrill
2009-10-28 13:59     ` Jakob Engblom
2009-10-29  0:28       ` Joel Sherrill
2009-10-30 17:25       ` Python pretty printers and dynamic cast Elmenthaler, Jens
2009-10-30 17:51         ` Tom Tromey [this message]
2009-12-22  8:15           ` Elmenthaler, Jens
2010-01-05 15:34             ` Tom Tromey
2010-01-07  8:55               ` Elmenthaler, Jens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3skd0pzeh.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=jens.elmenthaler@verigy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox