This is an automated email from Gerrit. Marc Schink ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5248
-- gerrit commit 4441559fe73ced18ebf0353e7e86a691f78aa8ea Author: Marc Schink <[email protected]> Date: Wed Jun 26 15:03:55 2019 +0200 helper/command: Use command_print() for 'echo' Use command_print() because otherwise the output broadcasted but not forwarded to the TCL server. Change-Id: I844ef7fbf57a22097a936f4614b4a4c7e980bef6 Signed-off-by: Marc Schink <[email protected]> diff --git a/src/helper/command.c b/src/helper/command.c index 7b93df6..8c6da89 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -762,12 +762,12 @@ static int jim_find(Jim_Interp *interp, int argc, Jim_Obj *const *argv) COMMAND_HANDLER(jim_echo) { if (CMD_ARGC == 2 && !strcmp(CMD_ARGV[0], "-n")) { - LOG_USER_N("%s", CMD_ARGV[1]); + command_print_sameline(CMD, "%s", CMD_ARGV[1]); return JIM_OK; } if (CMD_ARGC != 1) return JIM_ERR; - LOG_USER("%s", CMD_ARGV[0]); + command_print(CMD, "%s", CMD_ARGV[0]); return JIM_OK; } -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
