openocd/src/server
Antonio Borneo ab858febb6 gdb_server: add per target option "-gdb-port"
The argument passed to global config command "gdb_port" is usually,
but not always, a TCP port number. In case of multiple targets, this
numeric value is used as the first port of a set of consecutive TCP
ports assigned one per target.
If the argument is not a numeric value (e.g. "pipe", "disabled", ...)
then incrementing it for the next target has no sense.

Add the option "-gdb-port number" to the commands "target create" and
"$target_name configure" to override, for the specific target, the
general global configuration.

This permits to use a per target "-gdb-port disabled", when no gdb
port is required for that specific target.

It also makes possible to choose a custom TCP port number for each
target, overriding the usual sequence of consecutive port numbers.

Change-Id: I3b9a1910b28ab4bc757e839d0e5d08ffc29f7ab4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4530
Tested-by: jenkins
Reviewed-by: Christopher Head <chead@zaber.com>
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
2018-09-07 08:18:22 +01:00
..
gdb_server.c gdb_server: add per target option "-gdb-port" 2018-09-07 08:18:22 +01:00
gdb_server.h server: free strduped port numbers 2018-03-15 17:08:53 +00:00
Makefile.am helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
server_stubs.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
server.c server/server: Add ability to remove services 2018-08-01 14:34:13 +01:00
server.h server/server: Add ability to remove services 2018-08-01 14:34:13 +01:00
startup.tcl Fix a bunch of typos. 2011-03-17 07:25:25 +01:00
tcl_server.c server: free strduped port numbers 2018-03-15 17:08:53 +00:00
tcl_server.h server: free strduped port numbers 2018-03-15 17:08:53 +00:00
telnet_server.c server: free strduped port numbers 2018-03-15 17:08:53 +00:00
telnet_server.h server: free strduped port numbers 2018-03-15 17:08:53 +00:00