diff options
author | Marc Schink <dev@zapb.de> | 2021-06-28 13:11:37 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-07-02 17:14:21 +0100 |
commit | 81b59e876c249a7ec4eb720e8c74f8f310a59f37 (patch) | |
tree | b14ede1dffa3214b0d41b592798c43242b6a313a | |
parent | b1a8082f59c0fe43a865ff5478f4c73090a12c9e (diff) | |
download | riscv-openocd-81b59e876c249a7ec4eb720e8c74f8f310a59f37.zip riscv-openocd-81b59e876c249a7ec4eb720e8c74f8f310a59f37.tar.gz riscv-openocd-81b59e876c249a7ec4eb720e8c74f8f310a59f37.tar.bz2 |
target/cortex_a: Replace printf() with LOG_DEBUG()
Change-Id: I38fa8e21959b398033741cbd779b632d572c7ce4
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/6336
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r-- | src/target/cortex_a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index 2e810b5..a538766 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -1427,7 +1427,7 @@ static int cortex_a_set_hybrid_breakpoint(struct target *target, struct breakpoi (brp_list[brp_1].type != BRP_CONTEXT)) && (brp_1 < cortex_a->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 >= cortex_a->brp_num) { LOG_ERROR("ERROR Can not find free Breakpoint Register Pair"); return ERROR_FAIL; @@ -1437,7 +1437,7 @@ static int cortex_a_set_hybrid_breakpoint(struct target *target, struct breakpoi (brp_list[brp_2].type != BRP_NORMAL)) && (brp_2 < cortex_a->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 >= cortex_a->brp_num) { LOG_ERROR("ERROR Can not find free Breakpoint Register Pair"); return ERROR_FAIL; |