From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29815 invoked by alias); 7 Aug 2008 14:03:13 -0000 Received: (qmail 29799 invoked by uid 22791); 7 Aug 2008 14:03:12 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Aug 2008 14:02:38 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m77E2ZIh002209; Thu, 7 Aug 2008 10:02:35 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m77E2YRY026212; Thu, 7 Aug 2008 10:02:34 -0400 Received: from opsy.redhat.com (vpn-10-34.bos.redhat.com [10.16.10.34]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m77E2YPX017473; Thu, 7 Aug 2008 10:02:34 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 4D44C378159; Thu, 7 Aug 2008 08:02:35 -0600 (MDT) To: "Neo Jia" Cc: "gdb ml" Subject: Re: Source a python script to gdb plugin? References: <5d649bdb0808070039o6503e704gc8deac92ada5d2a6@mail.gmail.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Thu, 07 Aug 2008 14:03:00 -0000 In-Reply-To: <5d649bdb0808070039o6503e704gc8deac92ada5d2a6@mail.gmail.com> (Neo Jia's message of "Thu\, 7 Aug 2008 00\:39\:39 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2008-08/txt/msg00127.txt.bz2 >>>>> "Neo" == Neo Jia writes: Neo> I am going to source the following script through gdb plugin, but it Neo> doesn't work. Neo> Any suggestions? That isn't enough information. What platform is this? What version of Python are you using? How did it fail? Does it work with the ordinary python interpreter? Tom