Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches <gdb-patches@sources.redhat.com>
Subject: Re: [PATCH]: ser-tcp.c: Use `localhost' as default hostname
Date: Thu, 02 Aug 2001 02:50:00 -0000	[thread overview]
Message-ID: <20010802110954.E21481@cygbert.vinschen.de> (raw)
In-Reply-To: <3B68E457.5020500@cygnus.com>

On Thu, Aug 02, 2001 at 01:25:43AM -0400, Andrew Cagney wrote:
> Corinna,
> 
> Can you please add your self to the write-after-approval list of the 
> gdb/MAINTAINERS file as an ``obvious fix'' (don't forget to post the 
> corresponding change).
> 
> Your patch is approved.  Should this be mentioned in the doco?

Applied.

What about the following patch to the docu:

2001-08-02  Corinna Vinschen  <vinschen@redhat.com>

        * gdb.texinfo: Explain omitting the hostname in the
        `target remote' command.

Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.47
diff -u -p -r1.47 gdb.texinfo
--- gdb.texinfo 2001/07/28 19:35:20     1.47
+++ gdb.texinfo 2001/08/02 09:01:48
@@ -9636,6 +9636,17 @@ 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
+
+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

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


  parent reply	other threads:[~2001-08-02  2:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20010731210714.A3717@cygbert.vinschen.de>
2001-08-01 11:34 ` Andrew Cagney
2001-08-01 12:00   ` Kevin Buettner
2001-08-01 12:09   ` Stan Shebs
2001-08-01 13:25   ` Michael Snyder
2001-08-01 23:54   ` Eli Zaretskii
2001-08-01 22:25 ` Andrew Cagney
2001-08-01 23:55   ` Eli Zaretskii
2001-08-02  2:50   ` Corinna Vinschen [this message]
2001-08-02  3:09     ` Eli Zaretskii
2001-08-02  3:52       ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010802110954.E21481@cygbert.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox