aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2021-06-28 13:10:51 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-07-02 17:14:17 +0100
commitb1a8082f59c0fe43a865ff5478f4c73090a12c9e (patch)
tree9aef318f413d07d04b8956765ec0c8866c931d00
parentaad4f1c1f5a296098b4cad6bd3491d1a68844989 (diff)
downloadriscv-openocd-b1a8082f59c0fe43a865ff5478f4c73090a12c9e.zip
riscv-openocd-b1a8082f59c0fe43a865ff5478f4c73090a12c9e.tar.gz
riscv-openocd-b1a8082f59c0fe43a865ff5478f4c73090a12c9e.tar.bz2
target/aarch64: Replace printf() with LOG_DEBUG()
Change-Id: If32bc320c48259dec4b81d457b848e972bcda784 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6335 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--src/target/aarch64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index d43ade1..7853ca3 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -1416,7 +1416,7 @@ static int aarch64_set_hybrid_breakpoint(struct target *target, struct breakpoin
(brp_list[brp_1].type != BRP_CONTEXT)) && (brp_1 < aarch64->brp_num))
brp_1++;
- printf("brp(CTX) found num: %d\n", brp_1);
+ LOG_DEBUG("brp(CTX) found num: %d", brp_1);
if (brp_1 >= aarch64->brp_num) {
LOG_ERROR("ERROR Can not find free Breakpoint Register Pair");
return ERROR_FAIL;
@@ -1426,7 +1426,7 @@ static int aarch64_set_hybrid_breakpoint(struct target *target, struct breakpoin
(brp_list[brp_2].type != BRP_NORMAL)) && (brp_2 < aarch64->brp_num))
brp_2++;
- printf("brp(IVA) found num: %d\n", brp_2);
+ LOG_DEBUG("brp(IVA) found num: %d", brp_2);
if (brp_2 >= aarch64->brp_num) {
LOG_ERROR("ERROR Can not find free Breakpoint Register Pair");
return ERROR_FAIL;