target: cti: rewrite command 'cti names' as COMMAND_HANDLER
commit5da4ef25c8a2e57325bc1706c07f54cc99ce0ce1
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 19 Dec 2022 16:55:13 +0000 (19 17:55 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 25 Mar 2023 18:12:20 +0000 (25 18:12 +0000)
tree287ef768bd687d2560a95ef6781546c047a0f7ca
parentc4f2337d02d3c0d452a9958e44e82a8e6454dead
target: cti: rewrite command 'cti names' as COMMAND_HANDLER

While there, format in a human readable way the output list by
using one line per cti name.

Change-Id: I6d4870ee512fe7e6935d73355c2377ad805ccc3b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7492
Tested-by: jenkins
src/target/arm_cti.c