tcl/arc: Fix ARC v2 registers r22/r23

There was a typo in the register numbering.

Signed-off-by: Robert Kovacsics <kovirobi@gmail.com>
Change-Id: Ie5d306725962c42f1bce976b80968145e6d0a177
Reviewed-on: https://review.openocd.org/c/openocd/+/7860
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
This commit is contained in:
Robert Kovacsics 2023-08-19 15:36:27 +01:00 committed by Antonio Borneo
parent ea0ac6dc77
commit 18281b0c49
1 changed files with 2 additions and 2 deletions

View File

@ -173,8 +173,8 @@ proc arc_v2_init_regs { } {
r19 19 uint32 r19 19 uint32
r20 20 uint32 r20 20 uint32
r21 21 uint32 r21 21 uint32
r22 23 uint32 r22 22 uint32
r23 24 uint32 r23 23 uint32
r24 24 uint32 r24 24 uint32
r25 25 uint32 r25 25 uint32
gp 26 data_ptr gp 26 data_ptr