summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/target/target.c b/src/target/target.c
index e88fb196..2f5126df 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -1663,6 +1663,14 @@ int handle_bp_command(struct command_context_s *cmd_ctx, char *cmd, char **args,
break;
}
}
+ else
+ {
+ command_print(cmd_ctx, "breakpoint added at address 0x%8.8x", strtoul(args[0], NULL, 0));
+ }
+ }
+ else
+ {
+ command_print(cmd_ctx, "usage: bp <address> <length> ['hw']");
}
return ERROR_OK;