From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25644 invoked by alias); 7 Aug 2008 18:37:05 -0000 Received: (qmail 25635 invoked by uid 22791); 7 Aug 2008 18:37:05 -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 18:36:16 +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 m77IaAT6028311; Thu, 7 Aug 2008 14:36:11 -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 m77IaAPB004722; Thu, 7 Aug 2008 14:36:10 -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 m77Ia9Uw007265; Thu, 7 Aug 2008 14:36:10 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 2C242378159; Thu, 7 Aug 2008 12:36:11 -0600 (MDT) To: "Neo Jia" Cc: "Thiago Jung Bauermann" , "gdb ml" Subject: Re: gdb plugin status? References: <5d649bdb0808031010g6330a442xec0415a387d23163@mail.gmail.com> <1217860034.7578.8.camel@localhost.localdomain> <5d649bdb0808050033k212fb93arc4e8b7ff8f9b1a7f@mail.gmail.com> <1217943660.4534.1.camel@localhost.localdomain> <5d649bdb0808051553g6ee22cbfr80cfa43cd56e870c@mail.gmail.com> <1217993159.4534.47.camel@localhost.localdomain> <1218001435.4534.60.camel@localhost.localdomain> <1218055425.6617.5.camel@localhost.localdomain> <5d649bdb0808070010k659f9fdbj57a31865fa47ea77@mail.gmail.com> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Thu, 07 Aug 2008 18:37:00 -0000 In-Reply-To: <5d649bdb0808070010k659f9fdbj57a31865fa47ea77@mail.gmail.com> (Neo Jia's message of "Thu\, 7 Aug 2008 00\:10\:51 -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/msg00134.txt.bz2 >>>>> "Neo" == Neo Jia writes: Neo> I just build it. Is there any example to use this plugin? Can I source Neo> in a python script? There are a couple examples in the gdb or gdb-patches list archives. Here's one I happen to have right away: http://sourceware.org/ml/gdb/2008-03/msg00201.html We do need more examples, and a standard library of scripts. Neo> BTW, would it be better to change the python prompt to ">>>"? You mean when entering a multi-line 'python' script? Either way is fine by me. Tom