This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] XML files for PowerPC tdescs
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 06 Oct 2007 13:53:10 -0300
- Subject: Re: [rfc] XML files for PowerPC tdescs
- References: <20071005163854.GB26041@caradoc.them.org>
Hi Daniel,
On Fri, 2007-10-05 at 12:38 -0400, Daniel Jacobowitz wrote:
> Here are the XML files that go along with my previous patch. These
> were hand-written based on the information in rs6000-tdep.c's
> "struct reg" arrays.
Indeed, looks much more organized. :-)
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?
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?
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center