riscv-openocd/contrib/libdcc
Antonio Borneo 382148e4dd openocd: fix SPDX tag format for files .c
With the old checkpatch we cannot use the correct format for the
SPDX tags in the file .c, in fact the C99 comments are not allowed
and we had to use the block comment.

With the new checkpatch, let's switch to the correct SPDX format.

Change created automatically through the command:
	sed -i \
	's,^/\* *\(SPDX-License-Identifier: .*[^ ]\) *\*/$,// \1,' \
	$(find src/ contrib/ -name \*.c)

Change-Id: I6da16506baa7af718947562505dd49606d124171
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7153
Tested-by: jenkins
2022-09-18 08:22:01 +00:00
..
README coding style: contrib: remove empty lines at end of text files 2020-05-02 15:40:26 +01:00
dcc_stdio.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
dcc_stdio.h contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
example.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00

README

This code is an example of using the openocd debug message system.

Before the message output is seen in the debug window, the functionality
will need enabling:

From the gdb prompt:
monitor target_request debugmsgs enable
monitor trace point 1

From the Telnet prompt:
target_request debugmsgs enable
trace point 1

To see how many times the trace point was hit:
(monitor) trace point 1

Spen
spen@spen-soft.co.uk