]> git.proxmox.com Git - mirror_qemu.git/commit
target/xtensa: handle unknown registers in gdbstub
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 3 Jun 2017 09:11:13 +0000 (02:11 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 6 Jun 2017 09:40:48 +0000 (02:40 -0700)
commitdd7b952b793e341c905355581a21cdbaa8b13c31
tree6b6f1abac2612469dc734829e5d61f5135179b63
parent8128b3e0798e6c7e5742fa9f85bf8a4bf90af94a
target/xtensa: handle unknown registers in gdbstub

Xtensa cores may have registers of types/sizes not supported by the
gdbstub accessors. Ignore writes to such registers and return zero on
read, but always return correct register size, so that gdb on the other
side is able to access all registers in the packet holding unsupported
registers in the middle. This fixes gdb interaction with cores that have
vector/custom TIE registers.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/gdbstub.c