riscv-openocd/contrib/libdcc
Antonio Borneo a126229dff contrib: replace the GPLv2-or-later license tag
Replace the GPLv2-or-later boilerplate with the SPDX tag.

The SPDX tag on files *.c is incorrect, as it should use the C99
single line comment using '//'. But current checkpatch doesn't
allow C99 comments, so keep using standard C comments, by now.

Change-Id: I380d552940f1c405309a3346454251c0e80b5a45
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7159
Tested-by: jenkins
2022-09-13 22:06:14 +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 contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
dcc_stdio.h contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
example.c contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +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