From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10732 invoked by alias); 6 Nov 2002 14:56:38 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10698 invoked from network); 6 Nov 2002 14:56:34 -0000 Received: from unknown (HELO smtp.hccnet.nl) (62.251.0.13) by sources.redhat.com with SMTP; 6 Nov 2002 14:56:34 -0000 Received: from charis.vernstok by smtp.hccnet.nl via fia16-123.dsl.hccnet.nl [62.251.123.16] with ESMTP id PAA22076 (8.8.8/1.13); Wed, 6 Nov 2002 15:56:09 +0100 (MET) Received: from jelmer by charis.vernstok with local (Exim 3.36 #1 (Debian)) id 189RZU-0000cK-00; Wed, 06 Nov 2002 15:54:20 +0100 Date: Wed, 06 Nov 2002 06:56:00 -0000 From: Jelmer Vernooij To: Scott Moser Cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [PATCH] plugin patch Message-ID: <20021106145415.GA2350@charis.vernstok> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: Linux charis 2.4.18-686 X-SW-Source: 2002-11/txt/msg00096.txt.bz2 On Wed, Nov 06, 2002 at 08:45:18AM -0600, Scott Moser wrote about 'Re: [PATCH] plugin patch': > All, > I sent a patch to add plugin support to GDB under this subject last > week, and hadn't received a response other than the one below. > I'll gladly document the plugin in gdbint.texinfo if needed. IBM > made a copyright assignment agreement previously and I have the required > papers to assign this patch also. > I don't think that beneficial functionality should be kept from gdb > simply because people might use it in unfriendly ways. Anyone > interested in taking gdb functionality could still get the GDB source > and highjack that (which would even be less obvious to detect than > shipping a file and telling the user to "plugin load" it within GDB). > If my patch was submitted incorrectly, there was something else > that I was missing, or anything else I'd need to change/update/add, > please let me know. One small suggestion; add some kind of version system for the plugins. The API for plugins might change in the future and you don't want bug reports from users complaining that gdb segfaults when they're trying to load a plugin. We had the same thing when implementing this in samba. Just my two eurocents, :-) jelmer > On Tue, 29 Oct 2002, Eli Zaretskii wrote: > > On Mon, 28 Oct 2002, Scott Moser wrote: > > > Below is a patch to add plugin support to GDB. It exports a fairly > > > simple programmable interface for people to extend the functionality of > > > GDB via runtime loaded shared libraries in ways that may not fit with > > > the direction of the main GDB tree (not cross-platform, not stable, > > > niche audience...). > > IIRC, the FSF doesn't like to add to GNU software support for dynamically > > loading arbitrary modules (for fear of non-free libraries being used thru > > this). > > In any case, if this is approved, please consider documenting it in > > gdbint.texinfo. TIA > Scott Moser > Software Engineer; Linux Technology Center > IBM Corp., Austin, Tx > (512) 838-1533 T/L: 678-1533 > ssmoser@us.ibm.com , internal zip: 9812 -- Jelmer Vernooij - http://nl.linux.org/~jelmer/ 15:51:44 up 3:40, 9 users, load average: 0.11, 0.10, 0.08