Commit | Line | Data |
---|---|---|
28e7fd62 | 1 | <!-- Copyright (C) 2007-2013 Free Software Foundation, Inc. |
108546a0 DJ |
2 | |
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. --> | |
6 | ||
3dab6765 DJ |
7 | <!-- The root element of a GDB target description is <target>. --> |
8 | ||
e35359c5 UW |
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. --> | |
08d16641 | 11 | |
e35359c5 | 12 | <!ELEMENT target (architecture?, osabi?, compatible*, feature*)> |
1780a0ed DJ |
13 | <!ATTLIST target |
14 | version CDATA #FIXED "1.0"> | |
3dab6765 DJ |
15 | |
16 | <!ELEMENT architecture (#PCDATA)> | |
17 | ||
08d16641 PA |
18 | <!ELEMENT osabi (#PCDATA)> |
19 | ||
e35359c5 UW |
20 | <!ELEMENT compatible (#PCDATA)> |
21 | ||
f5dff777 DJ |
22 | <!ELEMENT feature |
23 | ((vector | flags | struct | union )*, reg*)> | |
123dc839 DJ |
24 | <!ATTLIST feature |
25 | name ID #REQUIRED> | |
26 | ||
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 | |
35 | > | |
36 | ||
37 | <!ELEMENT vector EMPTY> | |
38 | <!ATTLIST vector | |
39 | id CDATA #REQUIRED | |
40 | type CDATA #REQUIRED | |
41 | count CDATA #REQUIRED> | |
42 | ||
f5dff777 DJ |
43 | <!ELEMENT flags (field+)> |
44 | <!ATTLIST flags | |
45 | id CDATA #REQUIRED | |
46 | size CDATA #REQUIRED> | |
47 | ||
48 | <!ELEMENT struct (field+)> | |
49 | <!ATTLIST struct | |
50 | id CDATA #REQUIRED | |
51 | size CDATA #IMPLIED> | |
52 | ||
123dc839 DJ |
53 | <!ELEMENT union (field+)> |
54 | <!ATTLIST union | |
55 | id CDATA #REQUIRED> | |
56 | ||
57 | <!ELEMENT field EMPTY> | |
58 | <!ATTLIST field | |
59 | name CDATA #REQUIRED | |
f5dff777 DJ |
60 | type CDATA #IMPLIED |
61 | start CDATA #IMPLIED | |
62 | end CDATA #IMPLIED> | |
123dc839 | 63 | |
108546a0 DJ |
64 | <!ENTITY % xinclude SYSTEM "xinclude.dtd"> |
65 | %xinclude; |