aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2023-12-05 14:36:04 -0800
committerTim Newsome <tim@sifive.com>2023-12-05 14:36:04 -0800
commit1f512eac32e614e893565741f93ea3739a522797 (patch)
treee59c68acb81486432886465083f286542fe9e9fe /doc
parenta63b270b38272e7e7427e8d8cf243a4b65af1485 (diff)
parentd4575b647a3603200a9bb4a784d170f792ab88d0 (diff)
downloadriscv-openocd-1f512eac32e614e893565741f93ea3739a522797.zip
riscv-openocd-1f512eac32e614e893565741f93ea3739a522797.tar.gz
riscv-openocd-1f512eac32e614e893565741f93ea3739a522797.tar.bz2
Merge commit 'd4575b647a3603200a9bb4a784d170f792ab88d0' into from_upstream
Change-Id: Iaa299c50b338089f1b3b7ff7d89fad39ac20a7c1
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index aaf0fb5..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.