aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/features/i386/32bit-core.xml34
-rw-r--r--gdb/features/i386/32bit-sse.xml28
-rw-r--r--gdb/features/i386/64bit-core.xml34
-rw-r--r--gdb/features/i386/64bit-sse.xml28
-rw-r--r--gdb/features/i386/x32-core.xml34
6 files changed, 87 insertions, 79 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d78f2cc..2f95046 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
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.
NEWS: Document new features.
* c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS.
diff --git a/gdb/features/i386/32bit-core.xml b/gdb/features/i386/32bit-core.xml
index a27863f..b00d913 100644
--- a/gdb/features/i386/32bit-core.xml
+++ b/gdb/features/i386/32bit-core.xml
@@ -8,23 +8,23 @@
<!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"/>
diff --git a/gdb/features/i386/32bit-sse.xml b/gdb/features/i386/32bit-sse.xml
index 5a44d1e..4448a7e 100644
--- a/gdb/features/i386/32bit-sse.xml
+++ b/gdb/features/i386/32bit-sse.xml
@@ -23,20 +23,20 @@
<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"/>
diff --git a/gdb/features/i386/64bit-core.xml b/gdb/features/i386/64bit-core.xml
index 92f4e87..6e847c1 100644
--- a/gdb/features/i386/64bit-core.xml
+++ b/gdb/features/i386/64bit-core.xml
@@ -8,23 +8,23 @@
<!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"/>
diff --git a/gdb/features/i386/64bit-sse.xml b/gdb/features/i386/64bit-sse.xml
index 2a5271e..dd6a850 100644
--- a/gdb/features/i386/64bit-sse.xml
+++ b/gdb/features/i386/64bit-sse.xml
@@ -23,20 +23,20 @@
<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"/>
diff --git a/gdb/features/i386/x32-core.xml b/gdb/features/i386/x32-core.xml
index ab51ffc..c03cdea 100644
--- a/gdb/features/i386/x32-core.xml
+++ b/gdb/features/i386/x32-core.xml
@@ -8,23 +8,23 @@
<!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"/>