From: Daniel Jacobowitz <drow@false.org>
To: Thiago Jung Bauermann <bauerman@br.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc] XML files for PowerPC tdescs
Date: Sat, 06 Oct 2007 18:11:00 -0000 [thread overview]
Message-ID: <20071006181057.GA19314@caradoc.them.org> (raw)
In-Reply-To: <1191689590.18959.73.camel@localhost.localdomain>
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 <architecture> 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
next prev parent reply other threads:[~2007-10-06 18:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 16:39 Daniel Jacobowitz
2007-10-06 16:53 ` Thiago Jung Bauermann
2007-10-06 18:11 ` Daniel Jacobowitz [this message]
2007-10-15 19:47 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071006181057.GA19314@caradoc.them.org \
--to=drow@false.org \
--cc=bauerman@br.ibm.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox