Skip to content
Commit bace1f90 authored by Max Filippov's avatar Max Filippov Committed by Michael Roth
Browse files

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: default avatarMax Filippov <jcmvbkbc@gmail.com>
(cherry picked from commit dd7b952b)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 3b2f3a46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment