• Max Filippov's avatar
    target/xtensa: handle unknown registers in gdbstub · dd7b952b
    Max Filippov authored
    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: 's avatarMax Filippov <jcmvbkbc@gmail.com>
gdbstub.c 3.93 KB