diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-05-06 15:31:04 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-05-06 15:31:04 +0000 |
commit | af2c15151507c31ad95b488c82c53a1ecd5e45e0 (patch) | |
tree | b1fa6b02e3d3084435b756705910be34a8d65aff /gdb/configure.ac | |
parent | 35c011e3167c5aa85d722bd8fcaa7daa9fed3ae4 (diff) | |
download | gdb-af2c15151507c31ad95b488c82c53a1ecd5e45e0.zip gdb-af2c15151507c31ad95b488c82c53a1ecd5e45e0.tar.gz gdb-af2c15151507c31ad95b488c82c53a1ecd5e45e0.tar.bz2 |
gdb/
* auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH
back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "".
(show_auto_load_safe_path): Check any-directory by comparison with "/".
(add_auto_load_safe_path): Change the error message.
(_initialize_auto_load): Change the "safe-path" help text.
* configure: Regenerate
* configure.ac (--without-auto-load-safe-path): Set
WITH_AUTO_LOAD_SAFE_PATH to /.
gdb/doc/
* gdb.texinfo (Auto-loading safe path): Make 'directories'
for 'set auto-load safe-path' optional. Mention if it is omitted.
Change disabling security protection condition to "/", twice.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index b45c57d..ce7515b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -141,7 +141,7 @@ AC_ARG_WITH(auto-load-safe-path, AS_HELP_STRING([--with-auto-load-safe-path=PATH], [directories safe to hold auto-loaded files]) AS_HELP_STRING([--without-auto-load-safe-path], [do not restrict auto-loaded files locations]), [if test "$with_auto_load_safe_path" = "no"; then - with_auto_load_safe_path="" + with_auto_load_safe_path="/" fi], [with_auto_load_safe_path="$prefix"]) AC_DEFINE_DIR(DEFAULT_AUTO_LOAD_SAFE_PATH, with_auto_load_safe_path, |