From: Tom Tromey <tromey@redhat.com>
To: Joachim Protze <joachim.protze@wh2.tu-dresden.de>
Cc: Andrew Oakley <andrew@ado.is-a-geek.net>, gdb@sourceware.org
Subject: Re: Python API - pretty printing complex types
Date: Thu, 10 Mar 2011 21:08:00 -0000 [thread overview]
Message-ID: <m37hc6adl0.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4D77352D.3010004@wh2.tu-dresden.de> (Joachim Protze's message of "Wed, 09 Mar 2011 09:07:09 +0100")
>>>>> "Joachim" == Joachim Protze <joachim.protze@wh2.tu-dresden.de> writes:
Joachim> My first approach makes use of the undocumented (online-doc)
Joachim> array-method of gdb.Type, that i put in a handy function -- the
Joachim> straight forward way.
I looked, and this is documented in CVS.
We try pretty hard to document the whole Python API. If you run across
something missing, or if you find something unclear or under-documented,
please report it in bugzilla.
Joachim> For the second approach you have to put a typedef into your source --
Joachim> the more flexible way for complex situations.
Nice trick!
I do think we should do something not needing tricks in the source.
Tom
next prev parent reply other threads:[~2011-03-10 21:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 0:43 Andrew Oakley
2011-03-09 8:06 ` Joachim Protze
2011-03-10 21:08 ` Tom Tromey [this message]
[not found] ` <201103090954.49355.andre.poenitz@nokia.com>
2011-03-09 19:28 ` Andrew Oakley
2011-03-10 9:07 ` André Pönitz
2011-03-10 21:25 ` Tom Tromey
2011-03-11 7:41 ` Joachim Protze
2011-03-11 11:25 ` André Pönitz
2011-03-10 21:11 ` Tom Tromey
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=m37hc6adl0.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=andrew@ado.is-a-geek.net \
--cc=gdb@sourceware.org \
--cc=joachim.protze@wh2.tu-dresden.de \
/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