target/xtensa: fill register number field in the cache
commit3b8333bd3f33ce263245e67706e2bf9e30dd27d0
authorErhan Kurubas <erhan.kurubas@espressif.com>
Tue, 4 Oct 2022 20:54:58 +0000 (4 22:54 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 15 Oct 2022 15:58:44 +0000 (15 15:58 +0000)
tree7c64414c3610d39321f182f1e949d05d75f36d4c
parent2d5d8a5a621811d0ea58d3bdb90afc17f0cce4ac
target/xtensa: fill register number field in the cache

Currently 'number' field is zero in the register cache and
this causes an issue on `rtos get_thread_reg_list` calls.

Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: Iaef11e01f55d012969bbc1933f82847d5e02fec5
Reviewed-on: https://review.openocd.org/c/openocd/+/7246
Tested-by: jenkins
Reviewed-by: Ian Thompson <ianst@cadence.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/xtensa/xtensa.c