+2016-03-15 Doug Evans <dje@google.com>
+
+ * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
+ * features/i386/32bit-sse.xml (i386_eflags): Ditto.
+ * features/i386/64bit-core.xml (i386_eflags): Ditto.
+ * features/i386/64bit-sse.xml (i386_eflags): Ditto.
+ * features/i386/x32-core.xml (i386_eflags): Ditto.
+
2016-03-15 Doug Evans <dje@google.com>
Extend flags to support multibit and enum bitfields.
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.i386.core">
<flags id="i386_eflags" size="4">
- <field name="CF" start="0" end="0"/>
- <field name="" start="1" end="1"/>
- <field name="PF" start="2" end="2"/>
- <field name="AF" start="4" end="4"/>
- <field name="ZF" start="6" end="6"/>
- <field name="SF" start="7" end="7"/>
- <field name="TF" start="8" end="8"/>
- <field name="IF" start="9" end="9"/>
- <field name="DF" start="10" end="10"/>
- <field name="OF" start="11" end="11"/>
- <field name="NT" start="14" end="14"/>
- <field name="RF" start="16" end="16"/>
- <field name="VM" start="17" end="17"/>
- <field name="AC" start="18" end="18"/>
- <field name="VIF" start="19" end="19"/>
- <field name="VIP" start="20" end="20"/>
- <field name="ID" start="21" end="21"/>
+ <field name="CF" start="0"/>
+ <field name="" start="1"/>
+ <field name="PF" start="2"/>
+ <field name="AF" start="4"/>
+ <field name="ZF" start="6"/>
+ <field name="SF" start="7"/>
+ <field name="TF" start="8"/>
+ <field name="IF" start="9"/>
+ <field name="DF" start="10"/>
+ <field name="OF" start="11"/>
+ <field name="NT" start="14"/>
+ <field name="RF" start="16"/>
+ <field name="VM" start="17"/>
+ <field name="AC" start="18"/>
+ <field name="VIF" start="19"/>
+ <field name="VIP" start="20"/>
+ <field name="ID" start="21"/>
</flags>
<reg name="eax" bitsize="32" type="int32"/>
<field name="uint128" type="uint128"/>
</union>
<flags id="i386_mxcsr" size="4">
- <field name="IE" start="0" end="0"/>
- <field name="DE" start="1" end="1"/>
- <field name="ZE" start="2" end="2"/>
- <field name="OE" start="3" end="3"/>
- <field name="UE" start="4" end="4"/>
- <field name="PE" start="5" end="5"/>
- <field name="DAZ" start="6" end="6"/>
- <field name="IM" start="7" end="7"/>
- <field name="DM" start="8" end="8"/>
- <field name="ZM" start="9" end="9"/>
- <field name="OM" start="10" end="10"/>
- <field name="UM" start="11" end="11"/>
- <field name="PM" start="12" end="12"/>
- <field name="FZ" start="15" end="15"/>
+ <field name="IE" start="0"/>
+ <field name="DE" start="1"/>
+ <field name="ZE" start="2"/>
+ <field name="OE" start="3"/>
+ <field name="UE" start="4"/>
+ <field name="PE" start="5"/>
+ <field name="DAZ" start="6"/>
+ <field name="IM" start="7"/>
+ <field name="DM" start="8"/>
+ <field name="ZM" start="9"/>
+ <field name="OM" start="10"/>
+ <field name="UM" start="11"/>
+ <field name="PM" start="12"/>
+ <field name="FZ" start="15"/>
</flags>
<reg name="xmm0" bitsize="128" type="vec128" regnum="32"/>
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.i386.core">
<flags id="i386_eflags" size="4">
- <field name="CF" start="0" end="0"/>
- <field name="" start="1" end="1"/>
- <field name="PF" start="2" end="2"/>
- <field name="AF" start="4" end="4"/>
- <field name="ZF" start="6" end="6"/>
- <field name="SF" start="7" end="7"/>
- <field name="TF" start="8" end="8"/>
- <field name="IF" start="9" end="9"/>
- <field name="DF" start="10" end="10"/>
- <field name="OF" start="11" end="11"/>
- <field name="NT" start="14" end="14"/>
- <field name="RF" start="16" end="16"/>
- <field name="VM" start="17" end="17"/>
- <field name="AC" start="18" end="18"/>
- <field name="VIF" start="19" end="19"/>
- <field name="VIP" start="20" end="20"/>
- <field name="ID" start="21" end="21"/>
+ <field name="CF" start="0"/>
+ <field name="" start="1"/>
+ <field name="PF" start="2"/>
+ <field name="AF" start="4"/>
+ <field name="ZF" start="6"/>
+ <field name="SF" start="7"/>
+ <field name="TF" start="8"/>
+ <field name="IF" start="9"/>
+ <field name="DF" start="10"/>
+ <field name="OF" start="11"/>
+ <field name="NT" start="14"/>
+ <field name="RF" start="16"/>
+ <field name="VM" start="17"/>
+ <field name="AC" start="18"/>
+ <field name="VIF" start="19"/>
+ <field name="VIP" start="20"/>
+ <field name="ID" start="21"/>
</flags>
<reg name="rax" bitsize="64" type="int64"/>
<field name="uint128" type="uint128"/>
</union>
<flags id="i386_mxcsr" size="4">
- <field name="IE" start="0" end="0"/>
- <field name="DE" start="1" end="1"/>
- <field name="ZE" start="2" end="2"/>
- <field name="OE" start="3" end="3"/>
- <field name="UE" start="4" end="4"/>
- <field name="PE" start="5" end="5"/>
- <field name="DAZ" start="6" end="6"/>
- <field name="IM" start="7" end="7"/>
- <field name="DM" start="8" end="8"/>
- <field name="ZM" start="9" end="9"/>
- <field name="OM" start="10" end="10"/>
- <field name="UM" start="11" end="11"/>
- <field name="PM" start="12" end="12"/>
- <field name="FZ" start="15" end="15"/>
+ <field name="IE" start="0"/>
+ <field name="DE" start="1"/>
+ <field name="ZE" start="2"/>
+ <field name="OE" start="3"/>
+ <field name="UE" start="4"/>
+ <field name="PE" start="5"/>
+ <field name="DAZ" start="6"/>
+ <field name="IM" start="7"/>
+ <field name="DM" start="8"/>
+ <field name="ZM" start="9"/>
+ <field name="OM" start="10"/>
+ <field name="UM" start="11"/>
+ <field name="PM" start="12"/>
+ <field name="FZ" start="15"/>
</flags>
<reg name="xmm0" bitsize="128" type="vec128" regnum="40"/>
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.i386.core">
<flags id="i386_eflags" size="4">
- <field name="CF" start="0" end="0"/>
- <field name="" start="1" end="1"/>
- <field name="PF" start="2" end="2"/>
- <field name="AF" start="4" end="4"/>
- <field name="ZF" start="6" end="6"/>
- <field name="SF" start="7" end="7"/>
- <field name="TF" start="8" end="8"/>
- <field name="IF" start="9" end="9"/>
- <field name="DF" start="10" end="10"/>
- <field name="OF" start="11" end="11"/>
- <field name="NT" start="14" end="14"/>
- <field name="RF" start="16" end="16"/>
- <field name="VM" start="17" end="17"/>
- <field name="AC" start="18" end="18"/>
- <field name="VIF" start="19" end="19"/>
- <field name="VIP" start="20" end="20"/>
- <field name="ID" start="21" end="21"/>
+ <field name="CF" start="0"/>
+ <field name="" start="1"/>
+ <field name="PF" start="2"/>
+ <field name="AF" start="4"/>
+ <field name="ZF" start="6"/>
+ <field name="SF" start="7"/>
+ <field name="TF" start="8"/>
+ <field name="IF" start="9"/>
+ <field name="DF" start="10"/>
+ <field name="OF" start="11"/>
+ <field name="NT" start="14"/>
+ <field name="RF" start="16"/>
+ <field name="VM" start="17"/>
+ <field name="AC" start="18"/>
+ <field name="VIF" start="19"/>
+ <field name="VIP" start="20"/>
+ <field name="ID" start="21"/>
</flags>
<reg name="rax" bitsize="64" type="int64"/>