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


On Wed, Nov 7, 2012 at 9:51 AM,  <dje@google.com> wrote:
> Hi.
>
> On targets where system.gdbinit lives in data-directory, IWBN if
> gdb looked for it in the new place when data-directory is overridden
> at startup.
>
> Ok to check in?
>
> 2012-11-07  Doug Evans  <dje@google.com>
>
>         * main.c (gdb_datadir_provided): New static global.
>         (get_init_files): If --data-directory is provided,
>         and SYSTEM_GDBINIT lives in data-directory, look for it there.

Hi.
I think this is reasonable and it's been soaking awhile (so to speak),
so I will check this in in a few days if there are no objections.


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