Allow "tcl_port" to be run after config to simply display the port. 57/1857/2
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 8 Jan 2014 16:43:25 +0000 (11:43 -0500)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 8 Jan 2014 22:17:59 +0000 (22:17 +0000)
commit436f66b46327296ce818c3265f09381b2b0af7a7
treef693b5ef18adf286301415c79f330c5d3e17862e
parent58aecca7b331c203aa79d05987d1e7691cd1617b
Allow "tcl_port" to be run after config to simply display the port.

To be consistent with gdb_port and telnet_port, allow tcl_port
to be run to display the configured port number, while still
not allowing the user to change it after configuration.

Change-Id: Ibe6aedb3bd447f2985e42dd8246358481a047dd6
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-on: http://openocd.zylin.com/1857
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/server/tcl_server.c