From: David B. <dbr...@us...> - 2009-11-21 18:30:37
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 425e43d9d1f09a4de86eae89c91924ec98ef2de0 (commit) from 69c751956293e822faa6cf844f2864d81c36a578 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 425e43d9d1f09a4de86eae89c91924ec98ef2de0 Author: Andreas Fritiofson <and...@gm...> Date: Sat Nov 21 09:30:09 2009 -0800 show script search dirs in debug log 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 <and...@gm...> Signed-off-by: David Brownell <dbr...@us...> 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) ----------------------------------------------------------------------- Summary of changes: src/helper/configuration.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) hooks/post-receive -- Main OpenOCD repository |