diff options
author | mkdolata@us.ibm.com <mkdolata@us.ibm.com> | 2020-01-07 14:26:07 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-07 14:26:09 +0100 |
commit | 5a07192a042e60ce7415279a48aff8a932829f55 (patch) | |
tree | 57af8e7dd2d1ac558b72c343d971ef088dc2fb55 /hw/ipmi | |
parent | c9c6b2e1c485670763bb8aea4c769081b9a5fe56 (diff) |
target/i386: Fix handling of k_gs_base register in 32-bit mode in gdbstub
gdb-xml/i386-32bit.xml includes the k_gs_base register too, so we have to
handle it even if TARGET_X86_64 is not defined. This is already done in
x86_cpu_gdb_read_register, but not in x86_cpu_gdb_write_register where the
incorrect return value causes all registers after it to be clobbered.
Fixes https://bugs.launchpad.net/qemu/+bug/1857640.
Signed-off-by: Marek Dolata <mkdolata@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ipmi')
0 files changed, 0 insertions, 0 deletions