diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-11 13:03:32 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-11 13:03:32 +0000 |
commit | eb9ecb8224df158fd2bba0ce9c8a15e512753d65 (patch) | |
tree | 5ae80a9903017ebca59a6295671e96c3cd44e158 /src | |
parent | 1b2c1c6ff0442bf954f39c39a4be3d00fc90987a (diff) | |
download | openocd+libswd-eb9ecb8224df158fd2bba0ce9c8a15e512753d65.tar.gz openocd+libswd-eb9ecb8224df158fd2bba0ce9c8a15e512753d65.tar.bz2 openocd+libswd-eb9ecb8224df158fd2bba0ce9c8a15e512753d65.tar.xz openocd+libswd-eb9ecb8224df158fd2bba0ce9c8a15e512753d65.zip |
embedded host: launch telnet server even if configuration fails
git-svn-id: svn://svn.berlios.de/openocd/trunk@2198 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/ecosboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 1c8091d2..20907576 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -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*). |