projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
helper/command: silent debug msg on command register/unregister
[fw/openocd]
/
src
/
helper
/
command.c
diff --git
a/src/helper/command.c
b/src/helper/command.c
index 3a931b5a746a183764303980506010547883c3c1..c3d2e95665b583056b28e847702ff57308bd413c 100644
(file)
--- a/
src/helper/command.c
+++ b/
src/helper/command.c
@@
-343,7
+343,8
@@
static struct command *register_command(struct command_context *context,
return NULL;
}
return NULL;
}
- LOG_DEBUG("registering '%s'...", full_name);
+ if (false) /* too noisy with debug_level 3 */
+ LOG_DEBUG("registering '%s'...", full_name);
int retval = Jim_CreateCommand(context->interp, full_name,
jim_command_dispatch, c, command_free);
if (retval != JIM_OK) {
int retval = Jim_CreateCommand(context->interp, full_name,
jim_command_dispatch, c, command_free);
if (retval != JIM_OK) {
@@
-441,7
+442,8
@@
int unregister_commands_match(struct command_context *cmd_ctx, const char *forma
Jim_DecrRefCount(interp, elem);
continue;
}
Jim_DecrRefCount(interp, elem);
continue;
}
- LOG_DEBUG("delete command \"%s\"", name);
+ if (false) /* too noisy with debug_level 3 */
+ LOG_DEBUG("delete command \"%s\"", name);
#if JIM_VERSION >= 80
Jim_DeleteCommand(interp, elem);
#else
#if JIM_VERSION >= 80
Jim_DeleteCommand(interp, elem);
#else