target/xtensa: fix gdbstub register counts
commit2becc8fd7e6cbb69015ab7a2cbd21bba5a5ffbb9
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 16 Aug 2018 17:33:04 +0000 (16 10:33 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 20 Aug 2018 00:14:25 +0000 (19 17:14 -0700)
tree8f5a740a159d7557bf83350bfa655e9d2c559d5f
parent0abaa41d936becd914a16ee1fe2a981d96d19428
target/xtensa: fix gdbstub register counts

This fixes communication with gdb in the presence of type-5 (TIE state
mapped on user registers) and type-7 (special case of masked registers)
registers in the xtensa core config.

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