mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
ee8da4b839
Newer gdbservers may be talking to older gdbs, and older gdbs will flag a missing "end" as an error. So just make "end" required again, and for compatibility change the default field type to "bool". gdb/ChangeLog: 2016-10-06 Doug Evans <dje@google.com> * features/aarch64-core.xml (cpsr_flags): Elide "type" and specify "end" in all fields. * features/aarch64.c: Regenerate. * features/i386/32bit-mpx.xml (_bndcfgu): Specify type of "preserved" and "enabled" fields. Correct size of "enabled" field. * features/i386/64bit-mpx.xml (_bndcfgu): Specify type of "preserved" and "enabled" fields. * features/i386/i386-avx-mpx-linux.c: Regenerate. * features/i386/i386-avx-mpx.c: Regenerate. * features/i386/i386-avx512-linux.c: Regenerate. * features/i386/i386-avx512.c: Regenerate. * features/i386/i386-mpx-linux.c: Regenerate. * features/i386/i386-mpx.c: Regenerate. * features/arc-arcompact.c: Regenerate. * features/arc-v2.c: Regenerate. * xml-tdesc.c (tdesc_start_field): Require "end" spec. Single bit fields default to "bool" type. Revert 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. gdb/doc/ChangeLog: 2016-10-06 Doug Evans <dje@google.com> * gdb.texinfo (Target Description Format): Update docs on "end" field spec and field default type. gdb/testsuite/ChangeLog: 2016-10-06 Doug Evans <dje@google.com> * gdb.xml/extra-regs.xml: Update, end field now required, default type for single bitfields is bool. * gdb.xml/tdesc-regs.exp: Ditto.
66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2010-2016 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!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"/>
|
|
</flags>
|
|
|
|
<reg name="eax" bitsize="32" type="int32"/>
|
|
<reg name="ecx" bitsize="32" type="int32"/>
|
|
<reg name="edx" bitsize="32" type="int32"/>
|
|
<reg name="ebx" bitsize="32" type="int32"/>
|
|
<reg name="esp" bitsize="32" type="data_ptr"/>
|
|
<reg name="ebp" bitsize="32" type="data_ptr"/>
|
|
<reg name="esi" bitsize="32" type="int32"/>
|
|
<reg name="edi" bitsize="32" type="int32"/>
|
|
|
|
<reg name="eip" bitsize="32" type="code_ptr"/>
|
|
<reg name="eflags" bitsize="32" type="i386_eflags"/>
|
|
<reg name="cs" bitsize="32" type="int32"/>
|
|
<reg name="ss" bitsize="32" type="int32"/>
|
|
<reg name="ds" bitsize="32" type="int32"/>
|
|
<reg name="es" bitsize="32" type="int32"/>
|
|
<reg name="fs" bitsize="32" type="int32"/>
|
|
<reg name="gs" bitsize="32" type="int32"/>
|
|
|
|
<reg name="st0" bitsize="80" type="i387_ext"/>
|
|
<reg name="st1" bitsize="80" type="i387_ext"/>
|
|
<reg name="st2" bitsize="80" type="i387_ext"/>
|
|
<reg name="st3" bitsize="80" type="i387_ext"/>
|
|
<reg name="st4" bitsize="80" type="i387_ext"/>
|
|
<reg name="st5" bitsize="80" type="i387_ext"/>
|
|
<reg name="st6" bitsize="80" type="i387_ext"/>
|
|
<reg name="st7" bitsize="80" type="i387_ext"/>
|
|
|
|
<reg name="fctrl" bitsize="32" type="int" group="float"/>
|
|
<reg name="fstat" bitsize="32" type="int" group="float"/>
|
|
<reg name="ftag" bitsize="32" type="int" group="float"/>
|
|
<reg name="fiseg" bitsize="32" type="int" group="float"/>
|
|
<reg name="fioff" bitsize="32" type="int" group="float"/>
|
|
<reg name="foseg" bitsize="32" type="int" group="float"/>
|
|
<reg name="fooff" bitsize="32" type="int" group="float"/>
|
|
<reg name="fop" bitsize="32" type="int" group="float"/>
|
|
</feature>
|