diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c index a573d2ebb8..77f7673d07 100644 --- a/src/target/breakpoints.c +++ b/src/target/breakpoints.c @@ -306,7 +306,7 @@ static int breakpoint_free(struct target *data_target, struct target *breakpoint return retval; } - LOG_TARGET_DEBUG(target, "free BPID: %" PRIu32 " --> %d", breakpoint->unique_id, retval); + LOG_TARGET_DEBUG(data_target, "free BPID: %" PRIu32 " --> %d", breakpoint->unique_id, retval); (*breakpoint_p) = breakpoint->next; free(breakpoint->orig_instr); free(breakpoint);