From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1367 invoked by alias); 10 Aug 2008 21:02:02 -0000 Received: (qmail 1354 invoked by uid 22791); 10 Aug 2008 21:02:01 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 10 Aug 2008 21:01:12 +0000 Received: from mailhub3.br.ibm.com (unknown [9.18.232.110]) by igw3.br.ibm.com (Postfix) with ESMTP id 5DBC5390182 for ; Sun, 10 Aug 2008 17:41:33 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m7AL19o04046944 for ; Sun, 10 Aug 2008 18:01:09 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m7AL13HI001855 for ; Sun, 10 Aug 2008 18:01:03 -0300 Received: from [9.18.203.45] ([9.18.203.45]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m7AL135k001660; Sun, 10 Aug 2008 18:01:03 -0300 Subject: Re: gdb plugin status? From: Thiago Jung Bauermann To: Tom Tromey Cc: Neo Jia , gdb ml In-Reply-To: <1218135824.11103.6.camel@localhost.localdomain> 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> <1218135824.11103.6.camel@localhost.localdomain> Content-Type: text/plain Date: Tue, 12 Aug 2008 15:25:00 -0000 Message-Id: <1218402042.16736.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit 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: 2008-08/txt/msg00160.txt.bz2 On Thu, 2008-08-07 at 16:03 -0300, Thiago Jung Bauermann wrote: > > 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 > > That script is a little bit outdated in two ways: > > 1. Some of the gdb.Frame methods had slight name changes since then; > 2. The kludge it uses to create a gdb command tied to a python script is > not necessary anymore, there's a proper command interface now. > > But it's a good starting point nevertheless. I just fixed the two issues above, and made the updated script available in the GDB wiki: http://sourceware.org/gdb/wiki/PythonGdb Also, a couple of fixes needed to be made in the code, so you need to update your python-revisited branch. -- []'s Thiago Jung Bauermann IBM Linux Technology Center