OSDN Git Service

Update to HEAD.
[pf3gnuchains/pf3gnuchains3x.git] / 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 element was added post GDB 6.8.  The version wasn't
10      bumped, since older GDBs silently ignore unknown elements.  -->
11
12 <!ELEMENT target        (architecture?, osabi?, feature*)>
13 <!ATTLIST target
14         version         CDATA   #FIXED "1.0">
15
16 <!ELEMENT architecture  (#PCDATA)>
17
18 <!ELEMENT osabi (#PCDATA)>
19
20 <!ELEMENT feature       ((vector | union)*, reg*)>
21 <!ATTLIST feature
22         name            ID      #REQUIRED>
23
24 <!ELEMENT reg           (description*)>
25 <!ATTLIST reg
26         name            CDATA   #REQUIRED
27         bitsize         CDATA   #REQUIRED
28         regnum          CDATA   #IMPLIED
29         save-restore    (yes | no) 'yes'
30         type            CDATA   'int'
31         group           CDATA   #IMPLIED
32         >
33
34 <!ELEMENT vector        EMPTY>
35 <!ATTLIST vector
36         id              CDATA   #REQUIRED
37         type            CDATA   #REQUIRED
38         count           CDATA   #REQUIRED>
39
40 <!ELEMENT union         (field+)>
41 <!ATTLIST union
42         id              CDATA   #REQUIRED>
43
44 <!ELEMENT field         EMPTY>
45 <!ATTLIST field
46         name            CDATA   #REQUIRED
47         type            CDATA   #REQUIRED>
48
49 <!ENTITY % xinclude SYSTEM "xinclude.dtd">
50 %xinclude;