target: add support for 64bit data in mem2array and array2mem
authorJan Matyas <matyas@codasip.com>
Thu, 3 Jun 2021 14:26:37 +0000 (16:26 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Jul 2021 14:31:38 +0000 (15:31 +0100)
commit65c9653cc768f77a5e8cf2af73e0f40d614bdec2
tree0cd186c7d50113ef5888493fda469e06683dd7dd
parentc819444e9665888a45fcdaf6691737329a380d00
target: add support for 64bit data in mem2array and array2mem

- Added support for reading and writing 64-bit data items
  using TCL commands "mem2array" and "array2mem". Until now,
  data items only up to 32 bits were supportd.

- Cleaned up functions target_array2mem() and
  target_mem2array(), especially data types of variables
  and variable declarations (scope).

Change-Id: Ia0ba427804f8fd8d7568f12714ab36984d6d5e24
Signed-off-by: Jan Matyas <matyas@codasip.com>
Reviewed-on: http://openocd.zylin.com/6286
Tested-by: jenkins
Reviewed-by: Marc Schink <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
doc/openocd.texi
src/target/target.c