target: arc: fix error handling in command 'arc set-reg-exists'
commit18bafdce615132311fd34f2e1bdf57c193d14097
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 19 Dec 2022 16:20:06 +0000 (19 17:20 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 3 Feb 2023 22:47:30 +0000 (3 22:47 +0000)
treed60f382092ac3615c23772baf700fb540857b357
parentda76ba610b8e6b05de3a837926d06f8e7d964b97
target: arc: fix error handling in command 'arc set-reg-exists'

The command is specified through COMMAND_HANDLER. It should not
return JIM_OK / JIM_ERR.

Change-Id: I56666414d49b0298ecc23ec7ef30c77e1e27afa8
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7413
Tested-by: jenkins
Reviewed-by: Evgeniy Didin <didin@synopsys.com>
src/target/arc_cmd.c