armv7m_trace: get rid of the old tpiu code
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 13 Nov 2020 22:36:24 +0000 (23:36 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Wed, 10 Mar 2021 21:34:04 +0000 (21:34 +0000)
commitdc7b32ea4a00a425a71b3309f3fceb07b8467592
treeaf0e26bbceb210b596ecaecee09120daf856ad1b
parentc945d6e6160598894319860a92b602a192c2c268
armv7m_trace: get rid of the old tpiu code

Remove all the old tpiu code and replace it with a wrapper that
uses the new commands, prints-out the new commands and informs
about the deprecation.

All the code that handles the deprecated tpiu commands is enclosed
between the comments
/* START_DEPRECATED_TPIU */
and
/* END_DEPRECATED_TPIU */
so will be easy to remove it in the future.

Change-Id: I70b0486770128203b923346382d9a90b8ec08439
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6030
Tested-by: jenkins
Reviewed-by: Adrian M Negreanu <adrian.negreanu@nxp.com>
doc/openocd.texi
src/jtag/interface.h
src/target/arm_tpiu_swo.c
src/target/arm_tpiu_swo.h
src/target/armv7m_trace.c
src/target/armv7m_trace.h
src/target/cortex_m.c
src/target/hla_target.c
src/target/target.c