This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: warning: not using untrusted file
- From: Aleksey Midenkov <midenok at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb at sourceware dot org
- Date: Thu, 3 Jul 2014 00:12:10 +0400
- Subject: Re: warning: not using untrusted file
- Authentication-results: sourceware.org; auth=none
- References: <CAF8BazDjUWLjd1THGPdSXJkSn-e+ajV-u265E=q_PE-=JoMZ1w at mail dot gmail dot com> <83egy53wuy dot fsf at gnu dot org> <CAF8BazB6LejreGupdv+kw22yRUAFhn-1amVsa1DCbk3gBEoAQg at mail dot gmail dot com> <8338ej4y25 dot fsf at gnu dot org>
On Wed, Jul 2, 2014 at 6:47 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Aleksey Midenkov <midenok@gmail.com>
> > Date: Wed, 2 Jul 2014 12:21:41 +0400
> > Cc: gdb@sourceware.org
> >
> > > See the node "Auto-loading safe path" in the GDB manual.
> >
> > It doesn't work.
> >
> > # gdb
> >
> > warning: not using untrusted file "/home/midenok/.gdbinit"
> > (gdb) show auto-load safe-path
> > List of directories from which it is safe to auto-load files is /home/*.
> > (gdb)
> >
> > I also tried other variants:
> > /home/midenok
> > /home/midenok/
> > /home/midenok/.gdbinit
> >
> > Nothing works!
>
> What does "ls -l" say about /home/midenok/.gdbinit?
Yes, it was symlink to another location. Replacing symlink with actual
file did helped. Thanks!