From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24076 invoked by alias); 8 Aug 2008 00:31:05 -0000 Received: (qmail 24066 invoked by uid 22791); 8 Aug 2008 00:31:03 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Aug 2008 00:30:24 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EAE18983EF; Fri, 8 Aug 2008 00:30:21 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id BC2FD9809F; Fri, 8 Aug 2008 00:30:21 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KRFs4-0004a4-Ol; Thu, 07 Aug 2008 20:30:20 -0400 Date: Fri, 08 Aug 2008 00:31:00 -0000 From: Daniel Jacobowitz To: "Ryan C. Gordon" Cc: gdb-patches@sourceware.org Subject: Re: Data plugins for gdb... Message-ID: <20080808003020.GA17221@caradoc.them.org> Mail-Followup-To: "Ryan C. Gordon" , gdb-patches@sourceware.org References: <489B83F7.2080609@icculus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <489B83F7.2080609@icculus.org> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00168.txt.bz2 On Fri, Aug 08, 2008 at 01:23:35AM +0200, Ryan C. Gordon wrote: > > I spent a few hours hacking something out as a proof of concept; I'd > appreciate some opinions from those that know better. Hi Ryan, When it rains, it pours - people have complained about GDB's inability to do this for years, and now it's showing up from all sides. The GDB project (particularly Vladimir, Tom, and Thiago) is in the process of adding Python support. One of the intended uses is just this same idea. They're still designing the command-line interface to it; I believe Thiago is currently looking into it. Vladimir's also made it work via MI, so that front-end GUIs can access this functionality too. There's more information on the PythonGDB wiki page. What I don't want is to have a bunch of different extensibility mechanisms. We've pretty much settled on Python, though of course you can load C compiled plugins into the Python interpreter; Python just provides the framework and the boundary. Can I ask you to work with them? I'm sure there's some of what you have here that will fit nicely, e.g. the surface plugin, and more hands are always welcome. By the way, if you're interested in contributing to GDB (we hope you are!) you'll probably need a copyright assignment form sooner or later. Let me know and I can send it to you. -- Daniel Jacobowitz CodeSourcery