summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-06 19:33:05 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-06 19:33:05 +0000
commit2b673d0c1e190f76b1bd2c5a7f7f1242bd1c3d18 (patch)
tree102366d403af027e7ab831453bcd9fbf0948e105 /src/openocd.c
parent9a8746de25e3f47c96cd2cfd448493e96586a079 (diff)
downloadopenocd+libswd-2b673d0c1e190f76b1bd2c5a7f7f1242bd1c3d18.tar.gz
openocd+libswd-2b673d0c1e190f76b1bd2c5a7f7f1242bd1c3d18.tar.bz2
openocd+libswd-2b673d0c1e190f76b1bd2c5a7f7f1242bd1c3d18.tar.xz
openocd+libswd-2b673d0c1e190f76b1bd2c5a7f7f1242bd1c3d18.zip
Charles Hardin <ckhardin@gmail.com> - Tcl Server
git-svn-id: svn://svn.berlios.de/openocd/trunk@757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openocd.c b/src/openocd.c
index b6b217df..5439ece0 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -143,6 +143,7 @@ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **arg
/* initialize telnet subsystem */
telnet_init("Open On-Chip Debugger");
gdb_init();
+ tcl_init(); /* allows tcl to just connect without going thru telnet */
return ERROR_OK;
}
@@ -641,6 +642,7 @@ int main(int argc, char *argv[])
server_register_commands(cmd_ctx);
telnet_register_commands(cmd_ctx);
gdb_register_commands(cmd_ctx);
+ tcl_register_commands(cmd_ctx); /* tcl server commands */
log_register_commands(cmd_ctx);
jtag_register_commands(cmd_ctx);
interpreter_register_commands(cmd_ctx);