openocd/src
Antonio Borneo 1e5782a09a jtag: simplify the calls to Jim_SetResultFormatted()
The documentation of Jim_SetResultFormatted() reports that the jim
objects passed as arguments would be freed if have zero refcount.

Remove the useless Jim_IncrRefCount()/Jim_DecrRefCount().
Remove the dangerous Jim_FreeNewObj() that should trigger a double
free(). Not tested due to lack of aice adapter.

While there, rename some CamelCase symbol.

Change-Id: Ic56704c83d6391c38f6b0efa6566784d453bc0fb
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6190
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2021-05-01 13:37:29 +01:00
..
flash flash/nor/nrf5: Fix data types and const correctness 2021-04-22 13:06:26 +01:00
helper helper/command: drop the TCL variable 'ocd_HOSTOS' 2021-05-01 13:37:21 +01:00
jtag jtag: simplify the calls to Jim_SetResultFormatted() 2021-05-01 13:37:29 +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 target/image: report error if ELF file contains no loadable sections 2021-05-01 13:36:28 +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