gdb server: Add back support to disable the gdb server via the gdb_port config

As per the documentation, used "disabled" as the value to disable, as this
is the same value to disable the telnet and tcl server.

Change-Id: Idc4a8580098ec1107dcc6e1f59e817ecdebc38ac
Signed-off-by: Sandeep Mistry <s.mistry@arduino.cc>
Reviewed-on: http://openocd.zylin.com/3175
Tested-by: jenkins
Reviewed-by: Cristian Maglie
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Sandeep Mistry
2015-12-23 12:10:32 -05:00
committed by Andreas Fritiofson
parent f109a93075
commit ca6ccad439
2 changed files with 7 additions and 2 deletions

View File

@@ -2109,7 +2109,7 @@ communicate via pipes(stdin/out or named pipes). The name
the normal use cases.
No arguments reports GDB port. "pipe" means listen to stdin
output to stdout, an integer is base port number, "disable"
output to stdout, an integer is base port number, "disabled"
disables the gdb server.
When using "pipe", also use log_output to redirect the log