aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-08-02 10:52:07 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-08-02 10:52:07 +0000
commita2bea4c366ef8a353e60d60cdcd754d17ca89e9c (patch)
tree8daa714619e24c752ecf0f2fa6a4417b0b016347 /gdb/doc/gdb.texinfo
parentdc4622162a5bac6ee500af8e853b775cf10951fc (diff)
downloadgdb-a2bea4c366ef8a353e60d60cdcd754d17ca89e9c.zip
gdb-a2bea4c366ef8a353e60d60cdcd754d17ca89e9c.tar.gz
gdb-a2bea4c366ef8a353e60d60cdcd754d17ca89e9c.tar.bz2
* gdb.texinfo: Explain omitting the hostname in the
`target remote' command.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d5f09e9..310750d 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9636,6 +9636,18 @@ terminal server named @code{manyfarms}:
@example
target remote manyfarms:2828
@end example
+
+If your remote target is actually running on the same machine as
+your debugger session (e.g.@: a simulator of your target running on
+the same host), you can omit the hostname. For example, to connect
+to port 1234 on your local machine:
+
+@example
+target remote :1234
+@end example
+@noindent
+
+Note that the colon is still required here.
@end enumerate
Now you can use all the usual commands to examine and change data and to