target: arm_dap: rewrite command 'dap names' as COMMAND_HANDLER
commitf76e67a440bb1761b90ea0cab89e0422a4224779
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 19 Dec 2022 17:35:23 +0000 (19 18:35 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 25 Mar 2023 18:13:46 +0000 (25 18:13 +0000)
treee7e09b2da709e6ec64114989e86ebec107ce74a5
parentfbb7a50cbd5b9cda29698b3192e2a4596b3a6371
target: arm_dap: rewrite command 'dap names' as COMMAND_HANDLER

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

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