Import gdb-7.0
[dragonfly.git] / contrib / gdb-7 / gdb / features / gdb-target.dtd
1 <!-- Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
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
7 <!-- The root element of a GDB target description is <target>.  -->
8
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.  -->
11
12 <!ELEMENT target        (architecture?, osabi?, compatible*, feature*)>
13 <!ATTLIST target
14         version         CDATA   #FIXED "1.0">
15
16 <!ELEMENT architecture  (#PCDATA)>
17
18 <!ELEMENT osabi (#PCDATA)>
19
20 <!ELEMENT compatible    (#PCDATA)>
21
22 <!ELEMENT feature       ((vector | union)*, reg*)>
23 <!ATTLIST feature
24         name            ID      #REQUIRED>
25
26 <!ELEMENT reg           (description*)>
27 <!ATTLIST reg
28         name            CDATA   #REQUIRED
29         bitsize         CDATA   #REQUIRED
30         regnum          CDATA   #IMPLIED
31         save-restore    (yes | no) 'yes'
32         type            CDATA   'int'
33         group           CDATA   #IMPLIED
34         >
35
36 <!ELEMENT vector        EMPTY>
37 <!ATTLIST vector
38         id              CDATA   #REQUIRED
39         type            CDATA   #REQUIRED
40         count           CDATA   #REQUIRED>
41
42 <!ELEMENT union         (field+)>
43 <!ATTLIST union
44         id              CDATA   #REQUIRED>
45
46 <!ELEMENT field         EMPTY>
47 <!ATTLIST field
48         name            CDATA   #REQUIRED
49         type            CDATA   #REQUIRED>
50
51 <!ENTITY % xinclude SYSTEM "xinclude.dtd">
52 %xinclude;