gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 20 May 2012 20:35:19 +0000 (20:35 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 20 May 2012 20:35:19 +0000 (20:35 +0000)
commit1564a2618d1766c3ea3a27dfa2ae77fe4ef51ef3
tree848502bb4367788354501fb1ed6936a930398128
parenta3ec0bb1c41e2827147c6533295d1f88746e534e
gdb/
* NEWS (--with-auto-load-dir): Prepend $debugdir to the default path.
Describe it.
* auto-load.c (auto_load_expand_dir_vars): New function.
(auto_load_safe_path_vec_update): Use it, remove the
substitute_path_component call thanks to it.
(auto_load_objfile_script): Remove the debug_file_directory processing.
Use auto_load_expand_dir_vars, remove the substitute_path_component
call thanks to it.
* configure: Regenerate.
* configure.ac (--with-auto-load-dir): Prepend $debugdir to the default
path.  Escape $ also for $debugdir.
(--with_auto_load_safe_path): Escape $ also for $debugdir.
* utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR.

gdb/doc/
* gdb.texinfo (Separate Debug Files): New anchor debug-file-directory.
Mention also --with-separate-debug-dir.
(Auto-loading): Prepend $debugdir in the sample output.
(Auto-loading safe path): Likewise.  Mention also $debugdir for the
auto-load safe-path variable.
(objfile-gdb.py file): Remove the extra debug-file-directory paragraph.
Mention also $debugdir for 'set auto-load scripts-directory'.
gdb/ChangeLog
gdb/NEWS
gdb/auto-load.c
gdb/configure
gdb/configure.ac
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/utils.c