From 2ca6d25eb561d114d3a37ace0922a738e19fcc79 Mon Sep 17 00:00:00 2001 From: Parshintsev Anatoly Date: Wed, 2 Aug 2023 00:46:32 +0300 Subject: [PATCH] doc: port "0" requests any available port for usage by OpenOCD server Change-Id: I0d38533748898516dce44e81d0bff6bd35ee4aec Signed-off-by: Parshintsev Anatoly Reviewed-on: https://review.openocd.org/c/openocd/+/7842 Reviewed-by: Jan Matyas Reviewed-by: Antonio Borneo Tested-by: jenkins Reviewed-by: Tomas Vanek --- doc/openocd.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/openocd.texi b/doc/openocd.texi index 12a8ca56d..03c5190ad 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