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>
This commit is contained in:
committed by
Antonio Borneo
parent
ac6b00c3ca
commit
8667a72653
@@ -6736,6 +6736,13 @@ static const struct command_registration target_exec_command_handlers[] = {
|
||||
.help = "Write Tcl list of 8/16/32/64 bit numbers to target memory",
|
||||
.usage = "address width data ['phys']",
|
||||
},
|
||||
{
|
||||
.name = "debug_reason",
|
||||
.mode = COMMAND_EXEC,
|
||||
.handler = handle_target_debug_reason,
|
||||
.help = "displays the debug reason of this target",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name = "reset_nag",
|
||||
.handler = handle_target_reset_nag,
|
||||
|
||||
Reference in New Issue
Block a user