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: [RFA] Look for system.gdbinit in specified --data-directory


> Date: Thu, 15 Nov 2012 06:29:07 -0800
> From: Doug Evans <dje@google.com>
> Cc: palves@redhat.com, gdb-patches@sourceware.org
> 
> When I wrote:
> 
> >> Remember, this only happens *if* system.gdbinit lives somewhere
> >> underneath data-directory.
> 
> pretend I said:
> 
> Remember, this only happens *if* the configured location of
> system.gdbinit (the value of --with-system-gdbinit) is in the
> configured location of data-directory (the value of
> --with-gdb-datadir).

Ah, okay, sorry for my misunderstanding.

But why "pretend"?  Why not say this explicitly?  Like this, for
example:

  If the configured location of system.gdbinit file (as given by the
  --with-system-gdbinit option at configure time) is in the
  data-directory (as specified by --with-gdb-datadir at configure
  time) or in one of its subdirectories, then GDB will look for the
  system-wide init file in the directory specified by the
  --data-directory command-line option.


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