From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30701 invoked by alias); 2 May 2011 13:55:52 -0000 Received: (qmail 30684 invoked by uid 22791); 2 May 2011 13:55:51 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.23) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 02 May 2011 13:55:36 +0000 Received: (qmail 29098 invoked by uid 0); 2 May 2011 13:55:34 -0000 Received: from 199.64.72.252 by www057.gmx.net with HTTP; Mon, 02 May 2011 15:55:32 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Mon, 02 May 2011 13:55:00 -0000 From: "Klaus Rudolph" Message-ID: <20110502135532.164670@gmx.net> MIME-Version: 1.0 Subject: pretty printing with python To: gdb@sourceware.org Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00003.txt.bz2 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 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