This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [doc RFA] New option -nh


> Date: Thu, 4 Oct 2012 10:21:25 -0700
> Cc: gdb-patches@sourceware.org,
> From: dje@google.com
> 
> Eli Zaretskii writes:
>  > > +* New command line options:
>  > > +
>  > > +-nh     Like -nx, but only disable auto-loading of ~/.gdbinit.
>  > 
>  > I'd suggest to mention in parentheses what -nx does that -nh doesn't.
> 
> This is a just NEWS item.
> Adding all that extra text worsens the S/N ratio IMO.

Not if you get it right ;-)  How about this:

 -nh   Disables auto-loading of ~/.gdbinit, but still executes all the
       other initialization files, unlike -nx which disables all of them.

> +It is loaded first when gdb starts, before command line options
                           ^^^
@value{GDBN}

OK with this correction.

Thanks.


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