diff options
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/gdb-target.dtd | 7 | ||||
-rw-r--r-- | gdb/features/mips-linux.xml | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/features/gdb-target.dtd b/gdb/features/gdb-target.dtd index 2b195de..ff5d3d5 100644 --- a/gdb/features/gdb-target.dtd +++ b/gdb/features/gdb-target.dtd @@ -6,12 +6,17 @@ <!-- The root element of a GDB target description is <target>. --> -<!ELEMENT target (architecture?, feature*)> +<!-- The osabi element was added post GDB 6.8. The version wasn't + bumped, since older GDBs silently ignore unknown elements. --> + +<!ELEMENT target (architecture?, osabi?, feature*)> <!ATTLIST target version CDATA #FIXED "1.0"> <!ELEMENT architecture (#PCDATA)> +<!ELEMENT osabi (#PCDATA)> + <!ELEMENT feature ((vector | union)*, reg*)> <!ATTLIST feature name ID #REQUIRED> diff --git a/gdb/features/mips-linux.xml b/gdb/features/mips-linux.xml index 274f3d9..9772c82 100644 --- a/gdb/features/mips-linux.xml +++ b/gdb/features/mips-linux.xml @@ -8,6 +8,7 @@ <!DOCTYPE target SYSTEM "gdb-target.dtd"> <target> <architecture>mips</architecture> + <osabi>GNU/Linux</osabi> <xi:include href="mips-cpu.xml"/> <xi:include href="mips-cp0.xml"/> <xi:include href="mips-fpu.xml"/> |