From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22400 invoked by alias); 3 Dec 2005 05:06:02 -0000 Received: (qmail 22393 invoked by uid 22791); 3 Dec 2005 05:06:02 -0000 X-Spam-Check-By: sourceware.org Received: from whirlwind.netspace.net.au (HELO mail.netspace.net.au) (203.10.110.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 Dec 2005 05:06:02 +0000 Received: from [192.168.0.10] (220-253-18-66.VIC.netspace.net.au [220.253.18.66]) by mail.netspace.net.au (Postfix) with ESMTP id 0CF6112F574 for ; Sat, 3 Dec 2005 16:05:58 +1100 (EST) Message-ID: <439127B7.5040709@netspace.net.au> Date: Sat, 03 Dec 2005 05:06:00 -0000 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050914 Debian/1.7.11-1 MIME-Version: 1.0 Cc: gdb@sourceware.org Subject: Re: [RFC] plugin/extension interface References: <200512022241.jB2Mf3Fk024314@elgar.sibelius.xs4all.nl> <8f2776cb0512021507m52b9d491gd4ddc0ceaab594ba@mail.gmail.com> <20051202233207.GA19812@nevyn.them.org> <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> In-Reply-To: <439122AF.5080606@netspace.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/msg00027.txt.bz2 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