]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target/i386: Add GDB XML description for SSE registers
authorAbdallah Bouassida <abdallah.bouassida@lauterbach.com>
Thu, 1 Jun 2017 09:33:15 +0000 (11:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Jun 2017 16:22:02 +0000 (18:22 +0200)
commitb8158192fadb3e346372456c25cbbc4be584a85c
tree6b3dce7c10116c35b6335d9bcee5883b659d0840
parentd45fc087c26674eedda9314b9aaefd8e061bf104
target/i386: Add GDB XML description for SSE registers

Add an XML description for SSE registers (XMM+MXCSR) for both X86
and X86-64 architectures in the GDB stub:
- configure: Define gdb_xml_files for the X86 targets (32 and 64bit).
- gdb-xml/i386-32bit-sse.xml & gdb-xml/i386-64bit-sse.xml: The XML files
that contain a description of the XMM + MXCSR registers.
- gdb-xml/i386-32bit.xml & gdb-xml/i386-64bit.xml: wrappers that include
the XML file of the core registers and the other XML file of the SSE registers.
- target/i386/cpu.c: Modify the gdb_core_xml_file to the new XML wrapper,
  modify the gdb_num_core_regs to fit the registers number defined in each
  XML file.

Signed-off-by: Abdallah Bouassida <abdallah.bouassida@lauterbach.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
gdb-xml/i386-32bit-sse.xml [new file with mode: 0644]
gdb-xml/i386-32bit.xml [new file with mode: 0644]
gdb-xml/i386-64bit-sse.xml [new file with mode: 0644]
gdb-xml/i386-64bit.xml [new file with mode: 0644]
target/i386/cpu.c