This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch#2 2/6] set auto-load * main part
On Thu, 05 Apr 2012 23:27:33 +0200, Eli Zaretskii wrote:
> > Date: Fri, 06 Apr 2012 00:20:30 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: gdb-patches@sourceware.org
> >
> > Ah, I see I missed the other interpretation of "also". So here's a
> > revised suggestion:
> >
> > Be aware that system init file (@pxref{System-wide configuration})
> > and init files from your home directory (@pxref{Home Directory Init File})
> > still get read (as they come from generally trusted (as they come from
> > generally trusted directories). To prevent @value{GDBN} from auto-loading
> > even those init files, use the @option{-nx} option (@pxref{Mode Options}),
> > in addition to @code{set auto-load no}.
>
> Err... make that
>
> Be aware that system init file (@pxref{System-wide configuration})
> and init files from your home directory (@pxref{Home Directory Init File})
> still get read (as they come from generally trusted directories). To
> prevent @value{GDBN} from auto-loading even those init files, use the
> @option{-nx} option (@pxref{Mode Options}), in addition to
> @code{set auto-load no}.
I have noticed... I used that.
Thanks,
Jan