This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Look for system.gdbinit in specified --data-directory
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 13 Nov 2012 13:30:49 -0800
- Subject: Re: [RFA] Look for system.gdbinit in specified --data-directory
- References: <yjt2pq3p7138.fsf@ruffy2.mtv.corp.google.com>
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.