This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: ser-tcp.c: Use `localhost' as default hostname


Andrew Cagney wrote:
> 
> > Hi,
> >
> > 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?

I think it's a great idea.  The default for "host" should be "this host".
And like Stan says, it shouldn't do any harm...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]