Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Klaus Rudolph" <lts-rudolph@gmx.de>
To: gdb@sourceware.org
Subject: pretty printing with python
Date: Mon, 02 May 2011 13:55:00 -0000	[thread overview]
Message-ID: <20110502135532.164670@gmx.net> (raw)

Hi all,

I want to start with writing a pretty printer for gdb, but can't find a startup for my own printer.

First: All example contains a line
import gdb.printing
But this results in 
Traceback (most recent call last):
  File "/home/krud/projekte/myppc8000/ppc_8000_938/test.py", line 3, in <module>
    import gdb.printing
ImportError: No module named printing

Must I write that file (which?) myself. Is there an extra download for the printers? Could I install some additional stuff?

Sorry for my confusion!

I hope you could give me a startpoint for the printer things...

Thanks
 Klaus

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


             reply	other threads:[~2011-05-02 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 13:55 Klaus Rudolph [this message]
2011-05-02 14:32 ` Tom Tromey
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=20110502135532.164670@gmx.net \
    --to=lts-rudolph@gmx.de \
    --cc=gdb@sourceware.org \
    /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