This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] auto-load safe-path reset back by set ""
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, dje at google dot com
- Date: Sun, 22 Apr 2012 23:16:32 +0300
- Subject: Re: [patch] auto-load safe-path reset back by set ""
- References: <20120422165128.GA21820@host2.jankratochvil.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 22 Apr 2012 18:51:28 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Doug Evans <dje@google.com>
>
> +@item set auto-load safe-path [@var{directories}]
You need @r{} around [ and ].
> +Setting this variable to @code{"/"} (without the quotes) disables this security
^^^^^^^^^^
Why not @file{/}? The quotes are not needed in any case.
> +@item @kbd{gdb -iex "set auto-load safe-path /" [@dots{}]}
I'd lose the [ and ] part -- you don't need them.
OK with those changes.
Thanks.