aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2023-12-21 09:23:11 -0800
committerGitHub <noreply@github.com>2023-12-21 09:23:11 -0800
commit62758f20871f2de7df4a62aff7e987acb92b4d58 (patch)
tree3a8b4ba00c816048a7489688aa558dca41804b7e /doc
parentfeff8e005482ce3a070131e62a14b3bc0b9fbdf9 (diff)
parent1f512eac32e614e893565741f93ea3739a522797 (diff)
downloadriscv-openocd-62758f20871f2de7df4a62aff7e987acb92b4d58.zip
riscv-openocd-62758f20871f2de7df4a62aff7e987acb92b4d58.tar.gz
riscv-openocd-62758f20871f2de7df4a62aff7e987acb92b4d58.tar.bz2
Merge pull request #976 from riscv/from_upstream
Merge up to d4575b647a3603200a9bb4a784d170f792ab88d0 from upstream
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 7a88087..1312c5f 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -5325,6 +5325,18 @@ Displays the current target state:
(Also, @pxref{eventpolling,,Event Polling}.)
@end deffn
+@deffn {Command} {$target_name debug_reason}
+Displays the current debug reason:
+@code{debug-request},
+@code{breakpoint},
+@code{watchpoint},
+@code{watchpoint-and-breakpoint},
+@code{single-step},
+@code{target-not-halted},
+@code{program-exit},
+@code{exception-catch} or @code{undefined}.
+@end deffn
+
@deffn {Command} {$target_name eventlist}
Displays a table listing all event handlers
currently associated with this target.
@@ -9387,8 +9399,8 @@ for similar mechanisms that do not consume hardware breakpoints.)
Remove the breakpoint at @var{address} or all breakpoints.
@end deffn
-@deffn {Command} {rwp} address
-Remove data watchpoint on @var{address}
+@deffn {Command} {rwp} @option{all} | address
+Remove data watchpoint on @var{address} or all watchpoints.
@end deffn
@deffn {Command} {wp} [address len [(@option{r}|@option{w}|@option{a}) [value [mask]]]]
@@ -12709,7 +12721,7 @@ Return information about the flash banks
@item @b{capture} <@var{command}>
Run <@var{command}> and return full log output that was produced during
-its execution. Example:
+its execution together with the command output. Example:
@example
> capture "reset init"