0
0
mirror of https://git.code.sf.net/p/openocd/code synced 2025-01-30 18:41:26 +00:00
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
..

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