Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: asmwarrior <asmwarrior@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Auto-load safe-path and auto-load scripts-directory on Windows
Date: Sun, 20 Sep 2015 06:13:00 -0000	[thread overview]
Message-ID: <83fv29pqkj.fsf@gnu.org> (raw)
In-Reply-To: <55FDE51A.1060009@gmail.com>

> Date: Sun, 20 Sep 2015 06:43:38 +0800
> From: asmwarrior <asmwarrior@gmail.com>
> 
> On 2015-8-29 16:55, Eli Zaretskii wrote:
> > I've noticed that the default values of these 2 path lists use ':' as
> > directory separator, even on MS-Windows.  Isn't that a bug?  (Does
> > anyone use these features on Windows? if so, how come no one noticed?)
> > 
> 
> When I start GDB on windows, I pass this argument:
> -iex "set auto-load safe-path /"

(You can have that in your ~/.gdbinit instead, then you won't need to
specify this argument on every invocation of GDB.)

> This enable Auto-load safe-path to every directories. This is not quite safe, but it works.

As long as auto-load safe-path includes a single directory on the
current drive, be it "/" or anything else, you can get away with this
bug.  But once you really want a list of directories, or a directory
on a specific drive, you are toast: the feature becomes broken.


      reply	other threads:[~2015-09-20  6:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-29  8:55 Eli Zaretskii
2015-08-29  9:51 ` Eli Zaretskii
2015-08-29 11:27   ` Jan Kratochvil
2015-08-29 11:34     ` Eli Zaretskii
2015-08-29 11:44       ` Jan Kratochvil
2015-08-29 13:00         ` Eli Zaretskii
2015-10-10  1:29           ` asmwarrior
2015-10-10  7:27             ` Eli Zaretskii
2015-10-10 13:13               ` asmwarrior
2015-10-10 13:17                 ` Eli Zaretskii
2015-10-10 13:29                   ` asmwarrior
2015-10-10 14:10                   ` asmwarrior
2015-08-29 11:24 ` Jan Kratochvil
2015-08-29 11:33   ` Eli Zaretskii
2015-09-19 22:33 ` asmwarrior
2015-09-20  6:13   ` Eli Zaretskii [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=83fv29pqkj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=asmwarrior@gmail.com \
    --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