Define a debug reason from the start
This commit is contained in:
parent
07fcaa226b
commit
2c30659de8
|
@ -265,6 +265,8 @@ static int riscv_init_target(struct command_context *cmd_ctx,
|
||||||
select_dbus.num_bits = target->tap->ir_length;
|
select_dbus.num_bits = target->tap->ir_length;
|
||||||
select_idcode.num_bits = target->tap->ir_length;
|
select_idcode.num_bits = target->tap->ir_length;
|
||||||
|
|
||||||
|
target->debug_reason = DBG_REASON_DBGRQ;
|
||||||
|
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue