2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-08-16 18:57:55 +10:00
openocd/contrib/libdcc
..
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 coding style: contrib: remove empty lines at end of text files 2020-05-02 15:40:26 +01: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