[RFA] Look for system.gdbinit in specified --data-directory

Doug Evans dje@google.com
Tue Nov 13 21:30:00 GMT 2012


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.



More information about the Gdb-patches mailing list