aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2023-11-20 11:33:00 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2023-12-01 22:23:49 +0000
commit119a5338623d77bbdbc37b6ecb5e93df3368af30 (patch)
treeaed79ddce8915cbd6b8384685dcd2ca79719fbad /doc
parent73d62f3f0cd4cb3fb6975d4223bf44b35a0e1479 (diff)
downloadriscv-openocd-119a5338623d77bbdbc37b6ecb5e93df3368af30.zip
riscv-openocd-119a5338623d77bbdbc37b6ecb5e93df3368af30.tar.gz
riscv-openocd-119a5338623d77bbdbc37b6ecb5e93df3368af30.tar.bz2
target/target: Fix 'wp' command usage
While at it, fix the 'wp' command documentation. Change-Id: I70f3110e8ce286051f8f810260f1857b2285e634 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8022 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index e8b207c..c14ee9c 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -9374,7 +9374,7 @@ Remove the breakpoint at @var{address} or all breakpoints.
Remove data watchpoint on @var{address} or all watchpoints.
@end deffn
-@deffn {Command} {wp} [address len [(@option{r}|@option{w}|@option{a}) [value [mask]]]]
+@deffn {Command} {wp} [address length [(@option{r}|@option{w}|@option{a}) [value [mask]]]]
With no parameters, lists all active watchpoints.
Else sets a data watchpoint on data from @var{address} for @var{length} bytes.
The watch point is an "access" watchpoint unless