From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29847 invoked by alias); 3 Dec 2005 05:12:59 -0000 Received: (qmail 29840 invoked by uid 22791); 3 Dec 2005 05:12:58 -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; Sat, 03 Dec 2005 05:12:57 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EiPhf-0006WY-0h; Sat, 03 Dec 2005 00:12:55 -0500 Date: Sat, 03 Dec 2005 05:12:00 -0000 From: Daniel Jacobowitz To: Russell Shaw Cc: gdb@sourceware.org Subject: Re: [RFC] plugin/extension interface Message-ID: <20051203051254.GA25062@nevyn.them.org> Mail-Followup-To: Russell Shaw , gdb@sourceware.org References: <8f2776cb0512021657i3f780f77sb1294b51753ffaaa@mail.gmail.com> <20051203023154.GA22527@nevyn.them.org> <439105DF.5040708@netspace.net.au> <20051203024500.GA22826@nevyn.them.org> <43910D47.2070300@netspace.net.au> <20051203033336.GA23537@nevyn.them.org> <43911985.9050901@netspace.net.au> <20051203041402.GA24030@nevyn.them.org> <439122AF.5080606@netspace.net.au> <439127B7.5040709@netspace.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <439127B7.5040709@netspace.net.au> 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/msg00028.txt.bz2 On Sat, Dec 03, 2005 at 04:05:59PM +1100, Russell Shaw wrote: > Russell Shaw wrote: > >Daniel Jacobowitz wrote: > > > >>On Sat, Dec 03, 2005 at 03:05:25PM +1100, Russell Shaw wrote: > >> > ... > >With all the interfaces in gdb subdirectories, all the example code that > >anyone could ever want for adding support for new hardware, is already > >there to look at (i looked at gdb-6.3/gdb/remote*.c to start my one). > > Maybe these subdirectories should actually be for each cpu type, > and any hardware debugger protocols should be in a subdirectory > of that. > > This would simplify the source tree of gdb *alot*. > > Currently: > > gdb-6.3/gdb/remote-hms.c > gdb-6.3/gdb/h8300-tdep.c > > New: > > gdb-6.3/gdb/h8300/remote/hms.c > gdb-6.3/gdb/h8300/tdep.c We've talked about doing this before, but some people like it and others don't, so we've left alone - also, CVS notoriously doesn't like renaming files. It doesn't make a whole lot of difference. -- Daniel Jacobowitz CodeSourcery, LLC