From: openocd-gerrit <ope...@us...> - 2023-12-01 22:24:23
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 119a5338623d77bbdbc37b6ecb5e93df3368af30 (commit) from 73d62f3f0cd4cb3fb6975d4223bf44b35a0e1479 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 119a5338623d77bbdbc37b6ecb5e93df3368af30 Author: Marc Schink <de...@za...> Date: Mon Nov 20 11:33:00 2023 +0100 target/target: Fix 'wp' command usage While at it, fix the 'wp' command documentation. Change-Id: I70f3110e8ce286051f8f810260f1857b2285e634 Signed-off-by: Marc Schink <de...@za...> Reviewed-on: https://review.openocd.org/c/openocd/+/8022 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> Reviewed-by: Jan Matyas <jan...@co...> diff --git a/doc/openocd.texi b/doc/openocd.texi index e8b207c52..c14ee9cb6 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 diff --git a/src/target/target.c b/src/target/target.c index 4a4c62613..f847894d6 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -7064,7 +7064,7 @@ static const struct command_registration target_exec_command_handlers[] = { .handler = handle_wp_command, .mode = COMMAND_EXEC, .help = "list (no params) or create watchpoints", - .usage = "[address length [('r'|'w'|'a') value [mask]]]", + .usage = "[address length [('r'|'w'|'a') [value [mask]]]]", }, { .name = "rwp", ----------------------------------------------------------------------- Summary of changes: doc/openocd.texi | 2 +- src/target/target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |