From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4123 invoked by alias); 15 Apr 2005 01:48:14 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4066 invoked from network); 15 Apr 2005 01:48:05 -0000 Received: from unknown (HELO mail.netspace.net.au) (203.10.110.71) by sourceware.org with SMTP; 15 Apr 2005 01:48:05 -0000 Received: from [192.168.1.11] (220-253-42-78.VIC.netspace.net.au [220.253.42.78]) by mail.netspace.net.au (Postfix) with ESMTP id 41079436E3 for ; Fri, 15 Apr 2005 11:48:02 +1000 (EST) Message-ID: <425F1E4F.2030805@netspace.net.au> Date: Fri, 15 Apr 2005 01:48:00 -0000 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 MIME-Version: 1.0 Cc: gdb@sources.redhat.com Subject: Re: Unfinished projects References: <425EBC8F.4030405@apple.com> <200504142149.j3ELn2tr007466@elgar.sibelius.xs4all.nl> In-Reply-To: <200504142149.j3ELn2tr007466@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00083.txt.bz2 Mark Kettenis wrote: > Date: Thu, 14 Apr 2005 11:55:11 -0700 > From: Stan Shebs > > Andrew's sudden departure from GDB maintenance seems to left a > large number of projects in mid-process; as I'm picking through > the latest sources trying to figure out how to merge with Apple's > bits, it's very confusing as to how the new way is supposed to > work when it's not documented anywhere and there's maybe only > one example of a configuration using it. > > So my question is - what should we do about all these? Are > some of these intrinsically impossible to complete without > the right collection of hardware? If so, then maybe we need > to get tougher about dropping support for some targets, or > else abandon the projected change. I'd like to work on updating > the GDB internals manual too, for my own understanding if > nothing else; should I describe old ways, new ways, or both? > > If anything, only document the new way. Out of the top of my head I > don't know any newly introduced mechanisms that really have been > abandoned. But indeed there are many mechanisms that have not been > adapted by all targets. > > The problem is that we have many targets for which there is not a > maintainer, and some targets for which the maintainer has been "lazy". > We have never really made it the responsibility of the maintainers to > update their targets to use the new ways of doing this, and I think we > should. > > That said, I don't really consider documenting the mechanisms a big > priority. I think a set of targets that use the proper mechanisms is > much more important. I usually don't completely get how things are > supposed to work until I see some good code that uses a particular > mechanism. But because we have many targets that still use the > outdated hacks it isn't always obvious what the proper mechanisms are. > To make matters worse, I think the most "obvious" code to look isn't > always the best code to look at to understand how things are supposed > to work; in some respects this is particularly true for Linux/i386. > > Of the targets I'm familliar with, these targets are basically clean: > > * sparc/sparc64, m88k, vax, i386/amd64 > > These are mostly clean, but still need some work: > > * m68k, powerpc, mips/mips64, alpha > > And these still need a serious amount of work: > > * arm, hppa, ia64 > > On the native support side things are a bit more murky. The *BSD > natives mostly use up-to-date mechanisms, but the Linux world is in > quite a bit of disarray. The problem here is that Linux native > support is scattered over many people and a ridiculous number of Linux > targets is basically unmaintained. We really need someone with an > overview to work on making the Linux stuff more uniform. > > Then of course there is the embedded side of things. Here there is a > tendency of companies contributing support for their own chip with > their own remote protocol and then abandoning it. There seems to be > almost no interest for folks to work on the common infrastructure for > debugging embedded stuff. This leaves us with quite a bit of cruft. > > But the most serious problem is the fact that development of out > symbol readers has basically stopped. The round-trip for having > patches reviewed in this area is in the order of weeks, and this is > not encouraging other people to work on it (to use an understatement). > > Feel free to nominate targets for removal; there probably still is > quite a bit of dead wood in our tree. > > Mark > I'd create a new gdb copy that only has the maintained stuff in it, so it can all be easily cleaned up. Then if someone needs one of the unmaintained targets, they can use the old gdb, or port that stuff from the old gdb to the new gdb.