Define a debug reason from the start

This commit is contained in:
Palmer Dabbelt 2018-05-30 19:40:47 -07:00
parent 07fcaa226b
commit 2c30659de8
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,8 @@ static int riscv_init_target(struct command_context *cmd_ctx,
select_dbus.num_bits = target->tap->ir_length;
select_idcode.num_bits = target->tap->ir_length;
target->debug_reason = DBG_REASON_DBGRQ;
return ERROR_OK;
}