This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patch 2/2] Implement multi-component --with-auto-load-dir
On Wed, 09 May 2012 20:54:29 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-05-09 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Implement multi-component --with-auto-load-dir.
> * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New
> entries.
> (--with-auto-load-safe-path): Update the default value description.
> * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir):
> New.
> (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove
> GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by
> AUTO_LOAD_DIR. Support $ddir and multiple components in it.
> (_initialize_auto_load): Initialize also auto_load_dir. Install new
> "set auto-load scripts-directory".
> * config.in: Regenerate.
> * configure: Regenerate.
> * configure.ac (--with-auto-load-dir): New configure option.
> (--auto-load-safe-path): Change the default to --with-auto-load-dir.
>
> gdb/doc/
> 2012-05-09 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Implement multi-component --with-auto-load-dir.
> * gdb.texinfo (Auto-loading): New references
> for 'set auto-load scripts-directory'
> and 'show auto-load scripts-directory'.
> (Auto-loading safe path): Describe the new default. Move $ddir
> substituation reference to 'objfile-gdb.py file'.
> (objfile-gdb.py file): Describe script-name alias. Change real-name to
> script-name. Describe new 'set auto-load scripts-directory'
> and 'show auto-load scripts-directory'.
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-05/msg00081.html
Thanks,
Jan