Conform to OpenOCD style. (#323)
Change-Id: I11b5b66e474d3e1d979b4db537363d025f8e2c9a
This commit is contained in:
parent
005cfca219
commit
874cadca31
|
@ -514,7 +514,7 @@ int riscv_add_breakpoint(struct target *target, struct breakpoint *breakpoint)
|
|||
{
|
||||
assert(breakpoint);
|
||||
if (breakpoint->type == BKPT_SOFT) {
|
||||
/// @todo check RVC for size/alignment
|
||||
/* @todo check RVC for size/alignment */
|
||||
if (!(breakpoint->length == 4 || breakpoint->length == 2)) {
|
||||
LOG_ERROR("Invalid breakpoint length %d", breakpoint->length);
|
||||
return ERROR_FAIL;
|
||||
|
|
Loading…
Reference in New Issue