summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/debugger/watchpoint.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/debugger/watchpoint.rst')
-rw-r--r--docs/source/debugger/watchpoint.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/debugger/watchpoint.rst b/docs/source/debugger/watchpoint.rst
index 0d92b582bf7..22a0d8e7c92 100644
--- a/docs/source/debugger/watchpoint.rst
+++ b/docs/source/debugger/watchpoint.rst
@@ -38,7 +38,7 @@ wpset
|
| Set a watchpoint that will halt execution whenever a write occurs in the address range 23456-2345f AND the data written is equal to 1.
|
-| wp 3456,20,r,1,{printf "Read @ %08X\n",wpaddr; g}
+| wp 3456,20,r,1,{printf "Read @ %08X\\n",wpaddr; g}
|
| Set a watchpoint that will halt execution whenever a read occurs in the address range 3456-3475. When this happens, print Read @ <wpaddr> and continue executing.
|