aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/rtos_nuttx_stackings.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-12-02 16:50:14 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2025-03-29 18:23:46 +0000
commit50c1a156aeb7a96f2f8bacc8bfcfc93f1bbabb04 (patch)
treefb49f827d088f050ac489c7a0e5bc8a7bfb5715f /src/rtos/rtos_nuttx_stackings.c
parentf55ec6d4492251a453eb441dfd427b5f4ca4e452 (diff)
downloadriscv-openocd-50c1a156aeb7a96f2f8bacc8bfcfc93f1bbabb04.zip
riscv-openocd-50c1a156aeb7a96f2f8bacc8bfcfc93f1bbabb04.tar.gz
riscv-openocd-50c1a156aeb7a96f2f8bacc8bfcfc93f1bbabb04.tar.bz2
command: factorize jim_command_mode()
During 'help' dump, to determine the mode (e.g. COMMAND_CONFIG) of a command, the current code executes the OpenOCD TCL command "command mode", while it could directly call the implementation of the TCL command above. Factorize jim_command_mode() and call the inner implementation instead of executing "command mode". Change-Id: Id8c33d0ed1373b5744dcc3ac354c3e0a88576f75 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8585 Reviewed-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com> Tested-by: jenkins
Diffstat (limited to 'src/rtos/rtos_nuttx_stackings.c')
0 files changed, 0 insertions, 0 deletions