Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Aleksey Midenkov <midenok@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sourceware.org
Subject: Re: warning: not using untrusted file
Date: Wed, 02 Jul 2014 20:12:00 -0000	[thread overview]
Message-ID: <CAF8BazBqhThR4u+aG_BkY=VmDiDgG0X4B0DSEdhYkivev+PQsA@mail.gmail.com> (raw)
In-Reply-To: <8338ej4y25.fsf@gnu.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!


      reply	other threads:[~2014-07-02 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01 14:02 Aleksey Midenkov
2014-07-01 15:46 ` Eli Zaretskii
2014-07-02  8:22   ` Aleksey Midenkov
2014-07-02 14:47     ` Eli Zaretskii
2014-07-02 20:12       ` Aleksey Midenkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF8BazBqhThR4u+aG_BkY=VmDiDgG0X4B0DSEdhYkivev+PQsA@mail.gmail.com' \
    --to=midenok@gmail.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox