Conform to OpenOCD style. (#323)

Change-Id: I11b5b66e474d3e1d979b4db537363d025f8e2c9a
deinit
Tim Newsome 2018-11-05 12:27:56 -08:00 committed by GitHub
parent 005cfca219
commit 874cadca31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ int riscv_add_breakpoint(struct target *target, struct breakpoint *breakpoint)
{ {
assert(breakpoint); assert(breakpoint);
if (breakpoint->type == BKPT_SOFT) { if (breakpoint->type == BKPT_SOFT) {
/// @todo check RVC for size/alignment /* @todo check RVC for size/alignment */
if (!(breakpoint->length == 4 || breakpoint->length == 2)) { if (!(breakpoint->length == 4 || breakpoint->length == 2)) {
LOG_ERROR("Invalid breakpoint length %d", breakpoint->length); LOG_ERROR("Invalid breakpoint length %d", breakpoint->length);
return ERROR_FAIL; return ERROR_FAIL;