manual copyright year range of various GDB files to add 2023
[binutils-gdb.git] / gdb / features / gdb-target.dtd
blobfeae0c1c72075cb76b58a4d2717a1d0d8cb4dbfd
1 <!-- Copyright (C) 2007-2023 Free Software Foundation, Inc.
3 Copying and distribution of this file, with or without modification,
4 are permitted in any medium without royalty provided the copyright
5 notice and this notice are preserved. -->
7 <!-- The root element of a GDB target description is <target>. -->
9 <!-- The osabi and compatible elements were added post GDB 6.8. The version
10 wasn't bumped, since older GDBs silently ignore unknown elements. -->
12 <!ELEMENT target (architecture?, osabi?, compatible*, feature*)>
13 <!ATTLIST target
14 version CDATA #FIXED "1.0">
16 <!ELEMENT architecture (#PCDATA)>
18 <!ELEMENT osabi (#PCDATA)>
20 <!ELEMENT compatible (#PCDATA)>
22 <!ELEMENT feature
23 ((vector | flags | struct | union )*, reg*)>
24 <!ATTLIST feature
25 name ID #REQUIRED>
27 <!ELEMENT reg (description*)>
28 <!ATTLIST reg
29 name CDATA #REQUIRED
30 bitsize CDATA #REQUIRED
31 regnum CDATA #IMPLIED
32 save-restore (yes | no) 'yes'
33 type CDATA 'int'
34 group CDATA #IMPLIED
37 <!ELEMENT vector EMPTY>
38 <!ATTLIST vector
39 id CDATA #REQUIRED
40 type CDATA #REQUIRED
41 count CDATA #REQUIRED>
43 <!ELEMENT flags (field+)>
44 <!ATTLIST flags
45 id CDATA #REQUIRED
46 size CDATA #REQUIRED>
48 <!ELEMENT enum (evalue+)>
49 <!ATTLIST enum
50 id CDATA #REQUIRED
51 size CDATA #REQUIRED>
53 <!ELEMENT struct (field+)>
54 <!ATTLIST struct
55 id CDATA #REQUIRED
56 size CDATA #IMPLIED>
58 <!ELEMENT union (field+)>
59 <!ATTLIST union
60 id CDATA #REQUIRED>
62 <!ELEMENT field EMPTY>
63 <!ATTLIST field
64 name CDATA #REQUIRED
65 type CDATA #IMPLIED
66 start CDATA #IMPLIED
67 end CDATA #IMPLIED>
69 <!ELEMENT evalue EMPTY>
70 <!ATTLIST evalue
71 name CDATA #REQUIRED
72 value CDATA #REQUIRED>
74 <!ENTITY % xinclude SYSTEM "xinclude.dtd">
75 %xinclude;