From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23468 invoked by alias); 3 Feb 2004 21:06:04 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23450 invoked from network); 3 Feb 2004 21:05:58 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 3 Feb 2004 21:05:58 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i13L5wb04319 for ; Tue, 3 Feb 2004 16:05:58 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i13L5va31176; Tue, 3 Feb 2004 16:05:57 -0500 Received: from localhost.localdomain (vpn50-22.rdu.redhat.com [172.16.50.22]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i13L5u2r006962; Tue, 3 Feb 2004 16:05:57 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i13L5pcG022209; Tue, 3 Feb 2004 14:05:51 -0700 Date: Tue, 03 Feb 2004 21:06:00 -0000 From: Kevin Buettner To: Kip Macy Cc: gdb@sources.redhat.com Subject: Re: gdb + perl Message-Id: <20040203140551.53a2052c@saguaro> In-Reply-To: <20040130193848.B41210@demos.bsdclusters.com> References: <20040130153706.N34716@demos.bsdclusters.com> <20040130193848.B41210@demos.bsdclusters.com> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00013.txt.bz2 On Fri, 30 Jan 2004 19:42:30 -0800 (PST) Kip Macy wrote: > I know it is bad form to follow-up on one's own messages, but since I > took the time to pull the changes into 6.0 I thought I'd make them > available to anyone who might be curious about it. > > Documentation: > http://www.fsmware.com/gdb/gdb_ffi.html > Tarball: > http://www.fsmware.com/gdb/gdb-6.0-perl.tgz > > perl support can be turned on by passing --enable-ffiperl to configure. > > Even if it isn't deemed appropriate for mainline inclusion, I'm eager to > hear any feedback. Thanks for making your changes available. I happen to like the idea of providing access to perl from GDB, but then I also happen to like perl. My hunch is that you'll have a hard time getting these changes into mainline GDB. The reason for this hunch is as follows: 1) I don't think that perl would be the first choice for an extension language for very many of the GDB maintainers. That said, if we were to take a vote, I have no idea what the first choice would be. 2) GDB is a GNU project and as such would probably use guile as its primary extension language. (Of course, there could be others.) I haven't looked at your work at all yet. Do you think it would be possible to develop an extension language API that could be used by perl as well as other extension languages? That way, it'd be possible to do extension language plugins, of which your work would be one. It'd also be possible (and easier) to maintain the code you've written independent of mainline GDB. Kevin