xref: /dflybsd-src/contrib/gdb-7/gdb/features/gdb-target.dtd (revision 5796c8dc12c637f18a1740c26afd8d40ffa9b719)
1*5796c8dcSSimon Schubert<!-- Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
2*5796c8dcSSimon Schubert
3*5796c8dcSSimon Schubert     Copying and distribution of this file, with or without modification,
4*5796c8dcSSimon Schubert     are permitted in any medium without royalty provided the copyright
5*5796c8dcSSimon Schubert     notice and this notice are preserved.  -->
6*5796c8dcSSimon Schubert
7*5796c8dcSSimon Schubert<!-- The root element of a GDB target description is <target>.  -->
8*5796c8dcSSimon Schubert
9*5796c8dcSSimon Schubert<!-- The osabi and compatible elements were added post GDB 6.8.  The version
10*5796c8dcSSimon Schubert     wasn't bumped, since older GDBs silently ignore unknown elements.  -->
11*5796c8dcSSimon Schubert
12*5796c8dcSSimon Schubert<!ELEMENT target	(architecture?, osabi?, compatible*, feature*)>
13*5796c8dcSSimon Schubert<!ATTLIST target
14*5796c8dcSSimon Schubert	version		CDATA	#FIXED "1.0">
15*5796c8dcSSimon Schubert
16*5796c8dcSSimon Schubert<!ELEMENT architecture	(#PCDATA)>
17*5796c8dcSSimon Schubert
18*5796c8dcSSimon Schubert<!ELEMENT osabi	(#PCDATA)>
19*5796c8dcSSimon Schubert
20*5796c8dcSSimon Schubert<!ELEMENT compatible	(#PCDATA)>
21*5796c8dcSSimon Schubert
22*5796c8dcSSimon Schubert<!ELEMENT feature	((vector | union)*, reg*)>
23*5796c8dcSSimon Schubert<!ATTLIST feature
24*5796c8dcSSimon Schubert	name		ID	#REQUIRED>
25*5796c8dcSSimon Schubert
26*5796c8dcSSimon Schubert<!ELEMENT reg		(description*)>
27*5796c8dcSSimon Schubert<!ATTLIST reg
28*5796c8dcSSimon Schubert	name		CDATA	#REQUIRED
29*5796c8dcSSimon Schubert	bitsize		CDATA	#REQUIRED
30*5796c8dcSSimon Schubert	regnum		CDATA	#IMPLIED
31*5796c8dcSSimon Schubert	save-restore	(yes | no) 'yes'
32*5796c8dcSSimon Schubert	type		CDATA	'int'
33*5796c8dcSSimon Schubert	group		CDATA	#IMPLIED
34*5796c8dcSSimon Schubert	>
35*5796c8dcSSimon Schubert
36*5796c8dcSSimon Schubert<!ELEMENT vector	EMPTY>
37*5796c8dcSSimon Schubert<!ATTLIST vector
38*5796c8dcSSimon Schubert	id		CDATA	#REQUIRED
39*5796c8dcSSimon Schubert	type		CDATA	#REQUIRED
40*5796c8dcSSimon Schubert	count		CDATA	#REQUIRED>
41*5796c8dcSSimon Schubert
42*5796c8dcSSimon Schubert<!ELEMENT union		(field+)>
43*5796c8dcSSimon Schubert<!ATTLIST union
44*5796c8dcSSimon Schubert	id		CDATA	#REQUIRED>
45*5796c8dcSSimon Schubert
46*5796c8dcSSimon Schubert<!ELEMENT field		EMPTY>
47*5796c8dcSSimon Schubert<!ATTLIST field
48*5796c8dcSSimon Schubert	name		CDATA	#REQUIRED
49*5796c8dcSSimon Schubert	type		CDATA	#REQUIRED>
50*5796c8dcSSimon Schubert
51*5796c8dcSSimon Schubert<!ENTITY % xinclude SYSTEM "xinclude.dtd">
52*5796c8dcSSimon Schubert%xinclude;
53