xref: /dflybsd-src/contrib/gdb-7/gdb/features/gdb-target.dtd (revision de8e141f24382815c10a4012d209bbbf7abf1112)
1*ef5ccd6cSJohn Marino<!-- Copyright (C) 2007-2013 Free Software Foundation, Inc.
25796c8dcSSimon Schubert
35796c8dcSSimon Schubert     Copying and distribution of this file, with or without modification,
45796c8dcSSimon Schubert     are permitted in any medium without royalty provided the copyright
55796c8dcSSimon Schubert     notice and this notice are preserved.  -->
65796c8dcSSimon Schubert
75796c8dcSSimon Schubert<!-- The root element of a GDB target description is <target>.  -->
85796c8dcSSimon Schubert
95796c8dcSSimon Schubert<!-- The osabi and compatible elements were added post GDB 6.8.  The version
105796c8dcSSimon Schubert     wasn't bumped, since older GDBs silently ignore unknown elements.  -->
115796c8dcSSimon Schubert
125796c8dcSSimon Schubert<!ELEMENT target	(architecture?, osabi?, compatible*, feature*)>
135796c8dcSSimon Schubert<!ATTLIST target
145796c8dcSSimon Schubert	version		CDATA	#FIXED "1.0">
155796c8dcSSimon Schubert
165796c8dcSSimon Schubert<!ELEMENT architecture	(#PCDATA)>
175796c8dcSSimon Schubert
185796c8dcSSimon Schubert<!ELEMENT osabi	(#PCDATA)>
195796c8dcSSimon Schubert
205796c8dcSSimon Schubert<!ELEMENT compatible	(#PCDATA)>
215796c8dcSSimon Schubert
22cf7f2e2dSJohn Marino<!ELEMENT feature
23cf7f2e2dSJohn Marino	((vector | flags | struct | union )*, reg*)>
245796c8dcSSimon Schubert<!ATTLIST feature
255796c8dcSSimon Schubert	name		ID	#REQUIRED>
265796c8dcSSimon Schubert
275796c8dcSSimon Schubert<!ELEMENT reg		(description*)>
285796c8dcSSimon Schubert<!ATTLIST reg
295796c8dcSSimon Schubert	name		CDATA	#REQUIRED
305796c8dcSSimon Schubert	bitsize		CDATA	#REQUIRED
315796c8dcSSimon Schubert	regnum		CDATA	#IMPLIED
325796c8dcSSimon Schubert	save-restore	(yes | no) 'yes'
335796c8dcSSimon Schubert	type		CDATA	'int'
345796c8dcSSimon Schubert	group		CDATA	#IMPLIED
355796c8dcSSimon Schubert	>
365796c8dcSSimon Schubert
375796c8dcSSimon Schubert<!ELEMENT vector	EMPTY>
385796c8dcSSimon Schubert<!ATTLIST vector
395796c8dcSSimon Schubert	id		CDATA	#REQUIRED
405796c8dcSSimon Schubert	type		CDATA	#REQUIRED
415796c8dcSSimon Schubert	count		CDATA	#REQUIRED>
425796c8dcSSimon Schubert
43cf7f2e2dSJohn Marino<!ELEMENT flags		(field+)>
44cf7f2e2dSJohn Marino<!ATTLIST flags
45cf7f2e2dSJohn Marino	id		CDATA	#REQUIRED
46cf7f2e2dSJohn Marino	size		CDATA	#REQUIRED>
47cf7f2e2dSJohn Marino
48cf7f2e2dSJohn Marino<!ELEMENT struct	(field+)>
49cf7f2e2dSJohn Marino<!ATTLIST struct
50cf7f2e2dSJohn Marino	id		CDATA	#REQUIRED
51cf7f2e2dSJohn Marino	size		CDATA	#IMPLIED>
52cf7f2e2dSJohn Marino
535796c8dcSSimon Schubert<!ELEMENT union		(field+)>
545796c8dcSSimon Schubert<!ATTLIST union
555796c8dcSSimon Schubert	id		CDATA	#REQUIRED>
565796c8dcSSimon Schubert
575796c8dcSSimon Schubert<!ELEMENT field		EMPTY>
585796c8dcSSimon Schubert<!ATTLIST field
595796c8dcSSimon Schubert	name		CDATA	#REQUIRED
60cf7f2e2dSJohn Marino	type		CDATA	#IMPLIED
61cf7f2e2dSJohn Marino	start		CDATA	#IMPLIED
62cf7f2e2dSJohn Marino	end		CDATA	#IMPLIED>
635796c8dcSSimon Schubert
645796c8dcSSimon Schubert<!ENTITY % xinclude SYSTEM "xinclude.dtd">
655796c8dcSSimon Schubert%xinclude;
66