helper: command: rewrite command_print() dropping jimtcl strings

Rewrite the function command_print() without using any specific
API from jimtcl for string manipulation.

Change-Id: I1adddd493b43e30ead26e96da09a4ee8c0a41307
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9076
Reviewed-by: Evgeniy Naydanov <eugnay@gmail.com>
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2025-05-17 18:28:47 +02:00
parent e39ae004b0
commit 6420e83aff
2 changed files with 28 additions and 34 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ struct command_invocation {
unsigned int argc;
const char **argv;
Jim_Obj * const *jimtcl_argv;
Jim_Obj *output;
char *output;
};
/**