It's a bug!
The sockets for gdb, telnet and tcl are all created during the init phase. For 
a matter of call order, the tcl and telnet ports are open after the parse of 
the config file, so after init and bindto if they are inside the config file.
But if you start openocd without bindto, wait for telnet port to open, telnet 
and type bindto, it has no effect anymore.
There are other similar crap. I'm preparing a fix


---

** [tickets:#264] bindto half works when issued after init**

**Status:** new
**Milestone:** 0.9.0
**Created:** Mon Apr 20, 2020 05:56 PM UTC by Christopher Head
**Last Updated:** Mon Apr 20, 2020 05:56 PM UTC
**Owner:** nobody


When the `bindto` command is issued after the `init` command, it is accepted 
and appears to change the ports for the Telnet and TCL RPC interfaces, but not 
the GDB port. This doesn’t seem to be documented and certainly seems 
unexpected. I don’t know if it’s expected to be rejected after `init` or if 
it’s expected to work right?


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to