Add this to ease debugging why the standard scripts aren't found on the default script search path in some build/install enviroments. Especially on Windows it's not straight forward where openocd actually looks for the scripts.
Signed-off-by: Andreas Fritiofson <andreas.fritiof...@gmail.com> --- src/helper/configuration.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/helper/configuration.c b/src/helper/configuration.c index 74bcc9b..2ea5da4 100644 --- a/src/helper/configuration.c +++ b/src/helper/configuration.c @@ -41,6 +41,8 @@ void add_script_search_dir (const char *dir) script_search_dirs[num_script_dirs-1] = strdup(dir); script_search_dirs[num_script_dirs] = NULL; + + LOG_DEBUG("adding %s", dir); } void add_config_command (const char *cfg) -- 1.6.3.3 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development