aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParshintsev Anatoly <anatoly.parshintsev@syntacore.com>2023-08-02 00:46:32 +0300
committerAntonio Borneo <borneo.antonio@gmail.com>2023-08-05 08:26:58 +0000
commit2ca6d25eb561d114d3a37ace0922a738e19fcc79 (patch)
tree4717f9ad4b109599320388e5d69912358a17e835
parenta64928c4e7dd36c57e4a137f93a49522c28f547a (diff)
downloadriscv-openocd-2ca6d25eb561d114d3a37ace0922a738e19fcc79.zip
riscv-openocd-2ca6d25eb561d114d3a37ace0922a738e19fcc79.tar.gz
riscv-openocd-2ca6d25eb561d114d3a37ace0922a738e19fcc79.tar.bz2
doc: port "0" requests any available port for usage by OpenOCD server
Change-Id: I0d38533748898516dce44e81d0bff6bd35ee4aec Signed-off-by: Parshintsev Anatoly <anatoly.parshintsev@syntacore.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7842 Reviewed-by: Jan Matyas <jan.matyas@codasip.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
-rw-r--r--doc/openocd.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 12a8ca5..03c5190 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2180,6 +2180,9 @@ In such cases, just specify the relevant port number as "disabled".
If you disable all access through TCP/IP, you will need to
use the command line @option{-pipe} option.
+You can request the operating system to select one of the available
+ports for the server by specifying the relevant port number as "0".
+
@anchor{gdb_port}
@deffn {Config Command} {gdb_port} [number]
@cindex GDB server