riscv-openocd/src
Antonio Borneo 580b8f5da0 target: fix memory leaks on targets based on arm9tdmi
Similarly to the fix for arm926ejs (also base on arm9tdmi), fix
the other targets based on arm9tdmi.
The fix for arm926ejs is tested on SPEAr320 target.

This fix is proposed separately because is not tested on a correct
target device, but tested on SPEAr320 by hacking the target type
and pretending it is the correct one, e.g.:
	sed -i s/arm926ejs/arm920t/ tcl/target/spear3xx.cfg

The memory leaks detected and fixed are:
- arm register cache;
- EmbeddedICE register cache;
- arm_jtag_reset_callback internal data;
- struct <target_type>_common.

Change-Id: I565f9a5bf144a9df78474434d86a64127ef0fbe5
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5699
Tested-by: jenkins
2020-07-26 20:12:21 +01:00
..
flash src/flash/nor/stm32f2x: fix format strings 2020-07-26 20:09:10 +01:00
helper log: fix kept_alive() and report expired timeout 2020-06-06 18:04:14 +01:00
jtag libjaylink: Update to 0.2.0 release 2020-07-26 20:11:11 +01:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos: add support for RIOT 2020-07-26 20:11:52 +01:00
server gdb_server: suggest user to prefer GDB extended mode 2020-07-08 22:08:40 +01:00
svf coding style: fix space separation 2020-07-08 22:08:08 +01:00
target target: fix memory leaks on targets based on arm9tdmi 2020-07-26 20:12:21 +01:00
transport swim: add new transport 2020-05-24 21:32:05 +01:00
xsvf xsvf: fix memory leak 2020-01-16 09:44:33 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00: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
openocd.c openocd: fix issue in WIN32 with TCP adapters 2020-06-14 14:23:48 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00