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*)
>
14 version CDATA #FIXED
"1.0">
16 <!ELEMENT architecture (#PCDATA)
>
18 <!ELEMENT osabi (#PCDATA)
>
20 <!ELEMENT compatible (#PCDATA)
>
23 ((vector | flags | struct | union )*, reg*)
>
27 <!ELEMENT reg (description*)
>
30 bitsize CDATA #REQUIRED
32 save-restore (yes | no) 'yes'
37 <!ELEMENT vector EMPTY
>
41 count CDATA #REQUIRED
>
43 <!ELEMENT flags (field+)
>
48 <!ELEMENT enum (evalue+)
>
53 <!ELEMENT struct (field+)
>
58 <!ELEMENT union (field+)
>
62 <!ELEMENT field EMPTY
>
69 <!ELEMENT evalue EMPTY
>
72 value CDATA #REQUIRED
>
74 <!ENTITY % xinclude SYSTEM
"xinclude.dtd">