From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18347 invoked by alias); 6 Oct 2007 18:11:04 -0000 Received: (qmail 18337 invoked by uid 22791); 6 Oct 2007 18:11:03 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 06 Oct 2007 18:11:00 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id E4CC8980E0; Sat, 6 Oct 2007 18:10:58 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C490098001; Sat, 6 Oct 2007 18:10:58 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IeE77-0005Si-Pd; Sat, 06 Oct 2007 14:10:57 -0400 Date: Sat, 06 Oct 2007 18:11:00 -0000 From: Daniel Jacobowitz To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org Subject: Re: [rfc] XML files for PowerPC tdescs Message-ID: <20071006181057.GA19314@caradoc.them.org> Mail-Followup-To: Thiago Jung Bauermann , gdb-patches@sourceware.org References: <20071005163854.GB26041@caradoc.them.org> <1191689590.18959.73.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1191689590.18959.73.camel@localhost.localdomain> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00095.txt.bz2 On Sat, Oct 06, 2007 at 01:53:10PM -0300, Thiago Jung Bauermann wrote: > In rs6000.xml and powerpc-601.xml, you redefine the > org.gnu.gdb.power.core and/or org.gnu.gdb.power.fpu features, instead of > including power-core.xml and/or power-fpu.xml. I see that there are a > few registers that are different in these "private definitions". Would > it be worthwhile adding comments describing why they can't include > power-{core,fpu}.xml? Yeah, that's a good idea. Thanks. I didn't want to invent any more complicated mechanisms to handle these older processors; there are unlikely to be more of them. Oh, and thanks for making me go back to look at them again. The powerpc-601.xml description had a bogus line. > Also, these are more to satisfy my curiosity than anything else: > The XML files are not under the GPL. What is the reason for this? And > why use DTDs instead of XML Schemas? The XML files are not under the GPL because on the one hand, they contain very little protectable data (derived either from architecture manuals or from existing GDB public interfaces), and on the other hand they are useful in odd places (like embedded in the firmware of a device). I discussed this with the FSF before contributing the first batch under their minimalist license. And they use DTDs because I don't know a thing about XML schemas, and neither does expat :-) We take advantage of the DTD to fill in default values. I wouldn't object if someone wanted to contribute a schema, but I don't have any need for one and I don't know how to do it myself. -- Daniel Jacobowitz CodeSourcery