This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
pretty printing with python
- From: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- To: gdb at sourceware dot org
- Date: Mon, 02 May 2011 15:55:32 +0200
- Subject: pretty printing with python
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