From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10559 invoked by alias); 2 Dec 2005 22:16:24 -0000 Received: (qmail 10550 invoked by uid 22791); 2 Dec 2005 22:16:23 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 02 Dec 2005 22:16:21 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EiJCV-0004kr-Gd; Fri, 02 Dec 2005 17:16:19 -0500 Date: Fri, 02 Dec 2005 22:16:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb@sourceware.org Subject: Re: [RFC] plugin/extension interface Message-ID: <20051202221619.GA18250@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb@sourceware.org References: <439090FE.8040502@st.com> <200512021936.jB2JaZ6n014666@elgar.sibelius.xs4all.nl> <8f2776cb0512021412n17d2a8b2rf8cb4a48daa9449e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f2776cb0512021412n17d2a8b2rf8cb4a48daa9449e@mail.gmail.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00011.txt.bz2 On Fri, Dec 02, 2005 at 02:12:46PM -0800, Jim Blandy wrote: > I'm not so hostile to plug-in interfaces. It's true that the API > needs to be designed carefully, but allowing people to maintain other > features (targets; architectures; commands) separately from GDB would > take a big load off our backs. I don't think the benefit for targets or architectures is a particularly large one. Folks should expect to have to deal with core GDB for these, or use the remote protocol boundary. I do think we will want plugins eventually, but I haven't thought much about whether real dlopen'd plugins are worthwhile, or e.g. python. One classic example of this: domain-specific "shared library" objects for custom module loaders, like the Linux kernel's or X11's. -- Daniel Jacobowitz CodeSourcery, LLC