From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14833 invoked by alias); 8 Jan 2007 22:40:09 -0000 Received: (qmail 14815 invoked by uid 22791); 8 Jan 2007 22:40:05 -0000 X-Spam-Check-By: sourceware.org Received: from centrmmtao05.cox.net (HELO centrmmtao05.cox.net) (70.168.83.79) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Jan 2007 22:39:57 +0000 Received: from eastrmimpo01.cox.net ([68.1.16.119]) by centrmmtao05.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20070108223955.OJAO11822.centrmmtao05.cox.net@eastrmimpo01.cox.net> for ; Mon, 8 Jan 2007 17:39:55 -0500 Received: from black ([70.181.32.198]) by eastrmimpo01.cox.net with bizsmtp id 8mea1W00G4GV2Jm0000000; Mon, 08 Jan 2007 17:38:34 -0500 Received: from bob by black with local (Exim 4.62) (envelope-from ) id 1H439m-0002pn-GC for gdb@sourceware.org; Mon, 08 Jan 2007 17:39:54 -0500 Date: Mon, 08 Jan 2007 22:40:00 -0000 From: Bob Rossi To: gdb@sourceware.org Subject: Re: GDB and scripting languages - which Message-ID: <20070108223954.GA9844@cox.net> References: <20070108222005.GA27451@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070108222005.GA27451@nevyn.them.org> User-Agent: Mutt/1.5.12-2006-07-14 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: 2007-01/txt/msg00129.txt.bz2 > I'd really appreciate hearing what others think. Hi Daniel, I've also had as a personal long term goal to add scripting support to GDB. My approach is going to be to create a libgdbmi, which deals with parsing MI and creating C data structures. I think there can also be higher level functions in this library that keep the state of the GDB connection and other things for whoever is using the library. Then each scripting language can create an extension which exports these functions or improves upon them. This should allow any scripting language to work with GDB. This is the approach I think would work best. Bob Rossi