This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: ser-tcp.c: Use `localhost' as default hostname
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [PATCH]: ser-tcp.c: Use `localhost' as default hostname
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Thu, 2 Aug 2001 09:56:04 +0300 (IDT)
- cc: gdb-patches <gdb-patches at sources dot redhat dot com>
On Wed, 1 Aug 2001, Andrew Cagney wrote:
> > I don't like to type
> >
> > target remote localhost:1234
> >
> > all the time. It"s possible to abbreviate it to
> >
> > ta r localhost:1234
> >
> > but I don't see a need to type `localhost'. I would like to have
> > `localhost' as default if no hostname is given like in:
> >
> > ta r :1234
>
> I don't have an opinion. Does anyone strongly object or concure with this?
Can the string after "target remote" ever be a file name? If so, the
code that implements this should need to exercise caution not to break
the DOS/Windows drive-letter brain-damage.