Re: warning: not using untrusted file
Aleksey Midenkov <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAF8BazBqhThR4u+aG_BkY=VmDiDgG0X4B0DSEdhYkivev+PQsA@mail.gmail.com> |
On Wed, Jul 2, 2014 at 6:47 PM, Eli Zaretskii <[email protected]> wrote: > > > From: Aleksey Midenkov <[email protected]> > > Date: Wed, 2 Jul 2014 12:21:41 +0400 > > Cc: [email protected] > > > > > 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!