Add trigger_hit field to riscv_info

Change-Id: If4e1b5c37da4ab9301d91f41ba4789662b677a29
This commit is contained in:
Tim Newsome 2022-04-27 12:58:57 -07:00
parent a6f3212684
commit edcfcab890
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ typedef struct {
* target controls, while otherwise only a single hart is controlled. */ * target controls, while otherwise only a single hart is controlled. */
int trigger_unique_id[RISCV_MAX_HWBPS]; int trigger_unique_id[RISCV_MAX_HWBPS];
/* The unique id of the trigger that caused the most recent halt. If the
* most recent halt was not caused by a trigger, then this is -1. */
uint32_t trigger_hit;
/* The number of entries in the debug buffer. */ /* The number of entries in the debug buffer. */
int debug_buffer_size; int debug_buffer_size;