projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
target: fix init_targets script handling
[fw/openocd]
/
src
/
openocd.c
diff --git
a/src/openocd.c
b/src/openocd.c
index c49203036d8487a83829adb11e6fd17a30e1fdac..66555e60b1420ac218993ebb2dd4f7f5b342cf10 100644
(file)
--- a/
src/openocd.c
+++ b/
src/openocd.c
@@
-292,10
+292,6
@@
static int openocd_thread(int argc, char *argv[], struct command_context *cmd_ct
if (ERROR_OK != ret)
return EXIT_FAILURE;
if (ERROR_OK != ret)
return EXIT_FAILURE;
- ret = command_run_line(cmd_ctx, "init_targets");
- if (ERROR_OK != ret)
- ret = EXIT_FAILURE;
-
if (init_at_startup)
{
ret = command_run_line(cmd_ctx, "init");
if (init_at_startup)
{
ret = command_run_line(cmd_ctx, "init");
@@
-329,7
+325,7
@@
int openocd_main(int argc, char *argv[])
return EXIT_FAILURE;
LOG_OUTPUT("For bug reports, read\n\t"
return EXIT_FAILURE;
LOG_OUTPUT("For bug reports, read\n\t"
- "http://openocd.
berlios.de
/doc/doxygen/bugs.html"
+ "http://openocd.
sourceforge.net
/doc/doxygen/bugs.html"
"\n");
command_context_mode(cmd_ctx, COMMAND_CONFIG);
"\n");
command_context_mode(cmd_ctx, COMMAND_CONFIG);