diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-09-27 08:50:49 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-10-01 10:26:08 +0200 |
commit | 50d5441e2a615fb2c44b41a777e4373901f7a2e6 (patch) | |
tree | 20f11272f6cdf5646b086ffa014808f372906b0b /src/server/tcl_server.c | |
parent | 6c137a2fc0bf53b9c0b8eda51e6f5361552b0112 (diff) |
server: add support for pipes
-p/--pipe is now deprecated. Use '-c "gdb_port pipe;log_output openocd.log"'
instead. Warning logged.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/server/tcl_server.c')
-rw-r--r-- | src/server/tcl_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/tcl_server.c b/src/server/tcl_server.c index f82cafef..613eb23f 100644 --- a/src/server/tcl_server.c +++ b/src/server/tcl_server.c @@ -166,7 +166,7 @@ int tcl_init(void) return ERROR_OK; } - return add_service_pipe("tcl", tcl_port, 1, + return add_service("tcl", tcl_port, 1, &tcl_new_connection, &tcl_input, &tcl_closed, NULL); } |