diff options
author | Doug Gale <doug16k@gmail.com> | 2019-01-24 00:34:57 -0330 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-05 16:50:18 +0100 |
commit | 7b0f97bade8a30eb756739442ea998ef0ab8ab96 (patch) | |
tree | 3d3a3034f01cd80a7b08a3ed77e4052a2547a71a /gdb-xml/i386-64bit-sse.xml | |
parent | 1edead0f72acc146298c3d4913a7705b2c4a1baa (diff) | |
download | qemu-7b0f97bade8a30eb756739442ea998ef0ab8ab96.zip qemu-7b0f97bade8a30eb756739442ea998ef0ab8ab96.tar.gz qemu-7b0f97bade8a30eb756739442ea998ef0ab8ab96.tar.bz2 |
gdbstub: Fix i386/x86_64 machine description and add control registers
The machine description we send is being (silently) thrown on the floor
by GDB and GDB silently uses the default machine description, because
the xml parse fails on <feature> nested within <feature>.
Changes to the xml in qemu source code have no effect.
In addition, the default machine description has fs_base, which fails to
be retrieved, which breaks the whole register window. Add it and the
other control registers.
Signed-off-by: Doug Gale <doug16k@gmail.com>
Message-Id: <20190124040457.2546-1-doug16k@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'gdb-xml/i386-64bit-sse.xml')
-rw-r--r-- | gdb-xml/i386-64bit-sse.xml | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/gdb-xml/i386-64bit-sse.xml b/gdb-xml/i386-64bit-sse.xml deleted file mode 100644 index e86efc9..0000000 --- a/gdb-xml/i386-64bit-sse.xml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2010-2017 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.64bit.sse"> - <vector id="v4f" type="ieee_single" count="4"/> - <vector id="v2d" type="ieee_double" count="2"/> - <vector id="v16i8" type="int8" count="16"/> - <vector id="v8i16" type="int16" count="8"/> - <vector id="v4i32" type="int32" count="4"/> - <vector id="v2i64" type="int64" count="2"/> - <union id="vec128"> - <field name="v4_float" type="v4f"/> - <field name="v2_double" type="v2d"/> - <field name="v16_int8" type="v16i8"/> - <field name="v8_int16" type="v8i16"/> - <field name="v4_int32" type="v4i32"/> - <field name="v2_int64" type="v2i64"/> - <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"/> - </flags> - - <reg name="xmm0" bitsize="128" type="vec128" regnum="40"/> - <reg name="xmm1" bitsize="128" type="vec128"/> - <reg name="xmm2" bitsize="128" type="vec128"/> - <reg name="xmm3" bitsize="128" type="vec128"/> - <reg name="xmm4" bitsize="128" type="vec128"/> - <reg name="xmm5" bitsize="128" type="vec128"/> - <reg name="xmm6" bitsize="128" type="vec128"/> - <reg name="xmm7" bitsize="128" type="vec128"/> - <reg name="xmm8" bitsize="128" type="vec128"/> - <reg name="xmm9" bitsize="128" type="vec128"/> - <reg name="xmm10" bitsize="128" type="vec128"/> - <reg name="xmm11" bitsize="128" type="vec128"/> - <reg name="xmm12" bitsize="128" type="vec128"/> - <reg name="xmm13" bitsize="128" type="vec128"/> - <reg name="xmm14" bitsize="128" type="vec128"/> - <reg name="xmm15" bitsize="128" type="vec128"/> - - <reg name="mxcsr" bitsize="32" type="i386_mxcsr" group="vector"/> -</feature> |