| 1 | <?xml version="1.0"?> |
| 2 | <!-- Copyright (C) 2013-2020 Free Software Foundation, Inc. |
| 3 | |
| 4 | Copying and distribution of this file, with or without modification, |
| 5 | are permitted in any medium without royalty provided the copyright |
| 6 | notice and this notice are preserved. --> |
| 7 | |
| 8 | <!DOCTYPE feature SYSTEM "gdb-target.dtd"> |
| 9 | <feature name="org.gnu.gdb.i386.mpx"> |
| 10 | <struct id="br128"> |
| 11 | <field name="lbound" type="uint64"/> |
| 12 | <field name="ubound_raw" type="uint64"/> |
| 13 | </struct> |
| 14 | |
| 15 | <struct id="_bndstatus" size="8"> |
| 16 | <field name="bde" start="2" end="63"/> |
| 17 | <field name="error" start="0" end="1"/> |
| 18 | </struct> |
| 19 | |
| 20 | <union id="status"> |
| 21 | <field name="raw" type="data_ptr"/> |
| 22 | <field name="status" type="_bndstatus"/> |
| 23 | </union> |
| 24 | |
| 25 | <struct id="_bndcfgu" size="8"> |
| 26 | <field name="base" start="12" end="63"/> |
| 27 | <field name="reserved" start="2" end="11"/> |
| 28 | <!-- Explicitly set the type here, otherwise it defaults to bool. --> |
| 29 | <field name="preserved" start="1" end="1" type="uint64"/> |
| 30 | <field name="enabled" start="0" end="0" type="uint64"/> |
| 31 | </struct> |
| 32 | |
| 33 | <union id="cfgu"> |
| 34 | <field name="raw" type="data_ptr"/> |
| 35 | <field name="config" type="_bndcfgu"/> |
| 36 | </union> |
| 37 | |
| 38 | <reg name="bnd0raw" bitsize="128" type="br128"/> |
| 39 | <reg name="bnd1raw" bitsize="128" type="br128"/> |
| 40 | <reg name="bnd2raw" bitsize="128" type="br128"/> |
| 41 | <reg name="bnd3raw" bitsize="128" type="br128"/> |
| 42 | <reg name="bndcfgu" bitsize="64" type="cfgu"/> |
| 43 | <reg name="bndstatus" bitsize="64" type="status"/> |
| 44 | </feature> |