From: Tom Tromey <tromey@redhat.com>
To: "Klaus Rudolph" <lts-rudolph@gmx.de>
Cc: gdb@sourceware.org
Subject: Re: pretty printing with python
Date: Mon, 02 May 2011 14:32:00 -0000 [thread overview]
Message-ID: <m3liyp6un4.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20110502135532.164670@gmx.net> (Klaus Rudolph's message of "Mon, 02 May 2011 15:55:32 +0200")
>>>>> "Klaus" == Klaus Rudolph <lts-rudolph@gmx.de> writes:
Klaus> I want to start with writing a pretty printer for gdb, but can't
Klaus> find a startup for my own printer.
Klaus> First: All example contains a line
Klaus> import gdb.printing
Klaus> But this results in
Klaus> Traceback (most recent call last):
Klaus> File "/home/krud/projekte/myppc8000/ppc_8000_938/test.py", line 3, in <module>
Klaus> import gdb.printing
Klaus> ImportError: No module named printing
This means your GDB is too old. `gdb.printing' is not in any release
yet; it will make its debut in 7.3.
You can write printers so that they work with both the new- and
old-styles here. The libstdc++ printers do this.
Tom
next prev parent reply other threads:[~2011-05-02 14:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 13:55 Klaus Rudolph
2011-05-02 14:32 ` Tom Tromey [this message]
2011-05-03 5:07 ` Klaus Rudolph
2011-05-03 13:35 ` 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=m3liyp6un4.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=lts-rudolph@gmx.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