]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
gdbstub: Fix i386/x86_64 machine description and add control registers
authorDoug Gale <doug16k@gmail.com>
Thu, 24 Jan 2019 04:04:57 +0000 (00:34 -0330)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:50:18 +0000 (16:50 +0100)
commit7b0f97bade8a30eb756739442ea998ef0ab8ab96
tree3d3a3034f01cd80a7b08a3ed77e4052a2547a71a
parent1edead0f72acc146298c3d4913a7705b2c4a1baa
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>
configure
gdb-xml/i386-32bit-core.xml [deleted file]
gdb-xml/i386-32bit-sse.xml [deleted file]
gdb-xml/i386-32bit.xml
gdb-xml/i386-64bit-core.xml [deleted file]
gdb-xml/i386-64bit-sse.xml [deleted file]
gdb-xml/i386-64bit.xml
target/i386/cpu.c
target/i386/gdbstub.c