]> git.sur5r.net Git - openocd/blobdiff - doc/openocd.texi
server: bind to IPv4 localhost by default
[openocd] / doc / openocd.texi
index ce9cd3b96340f98b5df1a84bf72c88580645302c..73d64b3dc2cdf26f4b59ecca10a5c3a28c16b532 100644 (file)
@@ -4488,9 +4488,10 @@ The following target events are defined:
 @item @b{examine-end}
 @* After target examine is called with no errors.
 @item @b{gdb-attach}
-@* When GDB connects. This is before any communication with the target and GDB
-expects the target is halted during attachment.
-@xref{gdbmeminspect,,GDB as a non-intrusive memory inspector} for exclusion.
+@* When GDB connects. Issued before any GDB communication with the target
+starts. GDB expects the target is halted during attachment.
+@xref{gdbmeminspect,,GDB as a non-intrusive memory inspector}, how to
+connect GDB to running target.
 The event can be also used to set up the target so it is possible to probe flash.
 Probing flash is necessary during GDB connect if you want to use
 @pxref{programmingusinggdb,,programming using GDB}.
@@ -7131,9 +7132,11 @@ the initial log output channel is stderr.
 Add @var{directory} to the file/script search path.
 @end deffn
 
-@deffn Command bindto [name]
-Specify address by name on which to listen for incoming TCP/IP connections.
-By default, OpenOCD will listen on all available interfaces.
+@deffn Command bindto [@var{name}]
+Specify hostname or IPv4 address on which to listen for incoming
+TCP/IP connections. By default, OpenOCD will listen on the loopback
+interface only. If your network environment is safe, @code{bindto
+0.0.0.0} can be used to cover all available interfaces.
 @end deffn
 
 @anchor{targetstatehandling}
@@ -9258,7 +9261,7 @@ event gdb-flash-erase-start:
 @example
 $_TARGETNAME configure -event gdb-flash-erase-start BODY
 @end example
-@xref{targetevents,,Target Events} for other GDB programming related events.
+@xref{targetevents,,Target Events}, for other GDB programming related events.
 
 To verify any flash programming the GDB command @option{compare-sections}
 can be used.