X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget_request.c;h=2df29587fc125fa7aa8b29e0b8c35a02f70b7a00;hp=6ca204b508dd71e04a1be7abcb545d12597dbb5c;hb=ce6340d8ce76af4fdb0ce1011863f5312ae1d8ee;hpb=79a92d467dae86eefee57ab7170f61cc51d9b0be diff --git a/src/target/target_request.c b/src/target/target_request.c index 6ca204b508..2df29587fc 100644 --- a/src/target/target_request.c +++ b/src/target/target_request.c @@ -56,7 +56,7 @@ static int target_asciimsg(struct target *target, uint32_t length) LOG_DEBUG("%s", msg); while (c) { - command_print(c->cmd_ctx, "%s", msg); + command_output_text(c->cmd_ctx, msg); c = c->next; } @@ -100,7 +100,7 @@ static int target_hexmsg(struct target *target, int size, uint32_t length) LOG_DEBUG("%s", line); while (c) { - command_print(c->cmd_ctx, "%s", line); + command_output_text(c->cmd_ctx, line); c = c->next; } c = target->dbgmsg;