aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo12
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 77b1a97..22f0e14 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-02 Corinna Vinschen <vinschen@redhat.com>
+
+ * gdb.texinfo: Explain omitting the hostname in the
+ `target remote' command.
+
2001-07-30 Daniel Jacobowitz <drow@mvista.com>
* gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
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