diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-05-18 17:47:31 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-05-18 17:47:31 +0000 |
commit | aff139ffa6c125160f8a39ba8ea3c6f4933d64d5 (patch) | |
tree | cc4ba956e65cd299179ed6ede1d4f855114d98ad /gdb/doc | |
parent | f7bfa992dfca294af54332dc300691f20e184f69 (diff) | |
download | gdb-aff139ffa6c125160f8a39ba8ea3c6f4933d64d5.zip gdb-aff139ffa6c125160f8a39ba8ea3c6f4933d64d5.tar.gz gdb-aff139ffa6c125160f8a39ba8ea3c6f4933d64d5.tar.bz2 |
gdb/
Rename $ddir to $datadir.
* NEWS (--with-auto-load-dir): Rename $ddir to $datadir.
* auto-load.c (auto_load_safe_path_vec_update)
(auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise.
* configure: Regenerate.
* configure.ac (--with-auto-load-dir, --with-auto-load-safe-path):
Likewise. Remove the 'use $ddir' help string.
gdb/doc/
Rename $ddir to $datadir.
* gdb.texinfo (Auto-loading, Auto-loading safe path)
(objfile-gdb.py file): Rename $ddir to $datadir.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 20 |
2 files changed, 16 insertions, 10 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0ebe882..a30b0a8 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com> + + Rename $ddir to $datadir. + * gdb.texinfo (Auto-loading, Auto-loading safe path) + (objfile-gdb.py file): Rename $ddir to $datadir. + 2012-05-18 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Print Settings): Document 'set print symbol'. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b904f9b..1c16eee 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -21200,9 +21200,9 @@ local-gdbinit: Auto-loading of .gdbinit script from current directory is on. python-scripts: Auto-loading of Python scripts is on. safe-path: List of directories from which it is safe to auto-load files - is $ddir/auto-load. + is $datadir/auto-load. scripts-directory: List of directories from which to load auto-loaded scripts - is $ddir/auto-load. + is $datadir/auto-load. @end smallexample @anchor{info auto-load} @@ -21418,9 +21418,9 @@ get loaded: $ ./gdb -q ./gdb Reading symbols from /home/user/gdb/gdb...done. warning: File "/home/user/gdb/gdb-gdb.gdb" auto-loading has been - declined by your `auto-load safe-path' set to "$ddir/auto-load". + declined by your `auto-load safe-path' set to "$datadir/auto-load". warning: File "/home/user/gdb/gdb-gdb.py" auto-loading has been - declined by your `auto-load safe-path' set to "$ddir/auto-load". + declined by your `auto-load safe-path' set to "$datadir/auto-load". @end smallexample The list of trusted directories is controlled by the following commands: @@ -21453,7 +21453,7 @@ host platform path separator in use. @end table This variable defaults to what @code{--with-auto-load-dir} has been configured -to (@pxref{with-auto-load-dir}). @file{$ddir} substituation applies the same +to (@pxref{with-auto-load-dir}). @file{$datadir} substituation applies the same as for @xref{set auto-load scripts-directory}. The default @code{set auto-load safe-path} value can be also overriden by @value{GDBN} configuration @@ -25692,14 +25692,14 @@ Each entry here needs to be covered also by the security setting @code{set auto-load safe-path} (@pxref{set auto-load safe-path}). @anchor{with-auto-load-dir} -This variable defaults to @file{$ddir/auto-load}. The default @code{set +This variable defaults to @file{$datadir/auto-load}. The default @code{set auto-load safe-path} value can be also overriden by @value{GDBN} configuration option @option{--with-auto-load-dir}. -Any used string @file{$ddir} will get replaced by @var{data-directory} which is -determined at @value{GDBN} startup (@pxref{Data Files}). @file{$ddir} must be -be placed as a directory component --- either alone or delimited by @file{/} or -@file{\} directory separators, depending on the host platform. +Any used string @file{$datadir} will get replaced by @var{data-directory} which +is determined at @value{GDBN} startup (@pxref{Data Files}). @file{$datadir} +must be placed as a directory component --- either alone or delimited by +@file{/} or @file{\} directory separators, depending on the host platform. The list of directories uses path separator (@samp{:} on GNU and Unix systems, @samp{;} on MS-Windows and MS-DOS) to separate directories, similarly |