Browse Source

embedded host: launch telnet server even if configuration fails

git-svn-id: svn://svn.berlios.de/openocd/trunk@2198 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.2.0
oharboe 13 years ago
parent
commit
eb9ecb8224
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/ecosboard.c

+ 3
- 0
src/ecosboard.c View File

@@ -1046,6 +1046,9 @@ int main(int argc, char *argv[])

command_run_linef(cmd_ctx, "script /rom/openocd.cfg");

/* we MUST always run the init command as it will launch telnet sessions */
command_run_line(cmd_ctx, "init");

// FIX!!! Yuk!
// diag_printf() is really invoked from many more places than we trust it
// not to cause instabilities(e.g. invoking fputc() from an interrupt is *BAD*).


Loading…
Cancel
Save