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 <andreas.fritiofson@gmail.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>__archive__
parent
69c7519562
commit
425e43d9d1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue