From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12967 invoked by alias); 3 Aug 2008 17:43:20 -0000 Received: (qmail 12959 invoked by uid 22791); 3 Aug 2008 17:43:20 -0000 X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.243) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 03 Aug 2008 17:42:45 +0000 Received: by an-out-0708.google.com with SMTP id c37so622220anc.42 for ; Sun, 03 Aug 2008 10:42:43 -0700 (PDT) Received: by 10.100.172.17 with SMTP id u17mr18783830ane.28.1217785363549; Sun, 03 Aug 2008 10:42:43 -0700 (PDT) Received: by 10.101.71.4 with HTTP; Sun, 3 Aug 2008 10:42:43 -0700 (PDT) Message-ID: <5d649bdb0808031042i7210287djb225792fc7221319@mail.gmail.com> Date: Sun, 03 Aug 2008 17:43:00 -0000 From: "Neo Jia" To: "Neo Jia" , gdb@sourceware.org Subject: Re: gdb plugin status? In-Reply-To: <20080803173108.GA20590@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5d649bdb0808031010g6330a442xec0415a387d23163@mail.gmail.com> <20080803173108.GA20590@caradoc.them.org> 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/msg00052.txt.bz2 On Sun, Aug 3, 2008 at 10:31 AM, Daniel Jacobowitz wrote: > On Sun, Aug 03, 2008 at 10:10:52AM -0700, Neo Jia wrote: >> hi, >> >> I saw some discussions about the gdb plugin supporting around 2007 but >> it doesn't show up in the project plan page. Now, I am wondering if >> this is on the todo list of the GDB community, or somebody is doing >> this already. >> >> I do expect to have a interface to allow developer to load their own >> plugin in as a module instead using scripts. > > We are adding Python support. If you want to write plugins in some > compiled language, you'll be able to load it and access GDB through > a Python middle-layer. It's in progress (see gdb-patches@). I am wondering if this is feasible. My plugin will be implemented in C as it needs to access the hardware. And I should be able to use it from gdb through the Python middle-layer as Python provides the way to access .so file. Am I right? Thanks, Neo > > -- > Daniel Jacobowitz > CodeSourcery > -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using!