openocd/src
Antonio Borneo a60979b069 helper/command: fix build with jimtcl 0.79 or older
Commit a7d68878e4 ("helper/command: unregister commands through
their full-name") introduces for the first time in OpenOCD the use
of jimtcl API Jim_DeleteCommand().
The prototype of Jim_DeleteCommand() has changed with jimtcl 0.80
and the current code doesn't build with jimtcl 0.79 or older. This
is an issue for those distributions, like Debian, that provide
jimtcl as a separate package/library and have not switched yet to
the new jimtcl version.

Add a compile-time condition to cope with the jimtcl API change.

Change-Id: Ic813ab7c0ebd3c8772f27775ba3912a47d5c275c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Fixes: a7d68878e4 ("helper/command: unregister commands through their full-name")
Reviewed-on: http://openocd.zylin.com/6191
Tested-by: jenkins
2021-05-01 13:35:33 +01:00
..
flash flash/nor/nrf5: Fix data types and const correctness 2021-04-22 13:06:26 +01:00
helper helper/command: fix build with jimtcl 0.79 or older 2021-05-01 13:35:33 +01:00
jtag drivers/cmsis-dap: add multidrop capability 2021-04-25 23:08:30 +01:00
pld helper/command: pass command prefix to command registration 2021-04-18 15:33:30 +01:00
rtos target/armv7m: change FPv4_SP and FPv5_SP/DP identifiers to uppercase 2021-04-30 08:20:54 +01:00
rtt openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
server target/aarch64: Add watchpoint support 2021-04-11 21:28:01 +01:00
svf openocd: fix command's usage string 2020-09-05 17:13:10 +01:00
target cortex_m: mark FPU register as non-existent instead of playing with num_regs 2021-04-30 08:23:29 +01:00
transport jtag: remove minidriver code and minidriver-dummy 2021-03-19 21:56:06 +00:00
xsvf openocd: avoid checking for non NULL pointer to free it 2020-09-05 17:11:50 +01:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am build: Fix out-of-tree with --disable-dependency-tracking configure flag 2021-04-05 23:24:14 +01:00
openocd.c help: re-implement 'help' independent from tree of struct command 2021-04-18 15:33:54 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00