diff options
author | Marc Schink <dev@zapb.de> | 2023-11-18 12:48:33 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2024-05-04 08:31:14 +0000 |
commit | 8667a726532604afab099881779a4b898539dabf (patch) | |
tree | 460c5e8965f8f3edea90bc30cb593a84e22f7839 /doc | |
parent | ac6b00c3cae5def9c1b3f08fae68703abc494109 (diff) | |
download | riscv-openocd-8667a726532604afab099881779a4b898539dabf.zip riscv-openocd-8667a726532604afab099881779a4b898539dabf.tar.gz riscv-openocd-8667a726532604afab099881779a4b898539dabf.tar.bz2 |
target/target: Add 'debug_reason' to current target
Change-Id: Ie35b13b3e06411b4866ffeada47b3262493dbf2e
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8021
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 52a51c1..55e6e76 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -9191,6 +9191,18 @@ read_memory 0x20000000 32 2 @end example @end deffn +@deffn {Command} {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} {halt} [ms] @deffnx {Command} {wait_halt} [ms] The @command{halt} command first sends a halt request to the target, |