From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11100 invoked by alias); 6 Nov 2002 20:29:52 -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 11092 invoked from network); 6 Nov 2002 20:29:50 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 6 Nov 2002 20:29:50 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 491BD3E60; Wed, 6 Nov 2002 15:29:47 -0500 (EST) Message-ID: <3DC97BBB.6050801@redhat.com> Date: Wed, 06 Nov 2002 12:29:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Paul A. Clarke" Cc: "Howell, David P" , Scott Moser , gdb-patches@sources.redhat.com Subject: Re: [PATCH] plugin patch References: <331AD7BED1579543AD146F5A1A44D5251279DE@fmsmsx403.fm.intel.com> <3DC969B5.6030003@redhat.com> <1036612382.539.27.camel@pclarke> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00119.txt.bz2 > On Wed, 2002-11-06 at 13:12, Andrew Cagney wrote: > >> > Instead of having to add this to the standard gdb as a one-off for NGPT, >> > I can use the standard gdb and design them as plug-ins to be loaded only >> > when debugging NGPT applications. This feels a lot cleaner and could be >> > applied for other gdb features/architectures to keep the core as small >> > and efficient as possible, loading additional support/features on demand >> > only when needed. > >> >> That is the theory already. Reality differs though, there is always >> more work to do :-(. That work is, however, independant of a plug-in >> module. > > > Andrew, > > Can you clarify what you mean here? You seem to be implying that there > are plans to support on demand (dynamic) loading of features, which > sounds a lot like plug-ins. GDB's current architecture allows the relatively easy addition of new components (a new language, a new remote backend, a new isa) - add the file to the source list and re-compile. In theory, you don't need to go around modifying lots of headers and the like. This is simply ``good design''. Andrew