gdbstub: x86: Support for setting segment registers
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 27 Jun 2009 07:53:51 +0000 (09:53 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 13:28:13 +0000 (08:28 -0500)
commit84273177f25886b3476138470280890001debcbc
tree6468cd7d15092492cc5cd7930ab024c7b5cd98aa
parentb1631e7a6f63150ce07747a93fc98ff7d5ee766b
gdbstub: x86: Support for setting segment registers

This allows to set segment registers via gdb also in system emulation
mode. Basic sanity checks are applied and nothing is changed if they
fail. But screwing up the target via this interface will never be
complicated, so I avoided being too paranoid here.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
gdbstub.c
target-i386/cpu.h
target-i386/helper.c