keiths / rpms / gdb

Forked from rpms/gdb 10 days ago
Clone
Jan Kratochvil 43d8d62
http://sourceware.org/ml/gdb-cvs/2012-05/msg00082.html
Jan Kratochvil 43d8d62
Jan Kratochvil 43d8d62
### src/gdb/doc/ChangeLog	2012/05/11 18:20:26	1.1313
Jan Kratochvil 43d8d62
### src/gdb/doc/ChangeLog	2012/05/11 18:23:11	1.1314
Jan Kratochvil 43d8d62
## -1,5 +1,12 @@
Jan Kratochvil 43d8d62
 2012-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
+	* gdb.texinfo (Auto-loading, Init File in the Current Directory)
Jan Kratochvil 43d8d62
+	(libthread_db.so.1 file, objfile-gdb.gdb file, objfile-gdb.py file)
Jan Kratochvil 43d8d62
+	(dotdebug_gdb_scripts section): Add reference
Jan Kratochvil 43d8d62
+	to 'Auto-loading safe path'.
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
+2012-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
 	Implement multi-component --with-auto-load-dir.
Jan Kratochvil 43d8d62
 	* gdb.texinfo (Auto-loading): New references
Jan Kratochvil 43d8d62
 	for 'set auto-load scripts-directory'
Jan Kratochvil 43d8d62
--- src/gdb/doc/gdb.texinfo	2012/05/11 18:20:26	1.959
Jan Kratochvil 43d8d62
+++ src/gdb/doc/gdb.texinfo	2012/05/11 18:23:11	1.960
Jan Kratochvil 43d8d62
@@ -20973,6 +20973,10 @@
Jan Kratochvil 43d8d62
 results or introduce security risks (e.g., if the file comes from untrusted
Jan Kratochvil 43d8d62
 sources).
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
+Note that loading of these associated files (including the local @file{.gdbinit}
Jan Kratochvil 43d8d62
+file) requires accordingly configured @code{auto-load safe-path}
Jan Kratochvil 43d8d62
+(@pxref{Auto-loading safe path}).
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
 For these reasons, @value{GDBN} includes commands and options to let you
Jan Kratochvil 43d8d62
 control when to auto-load files and which files should be auto-loaded.
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
@@ -21112,6 +21116,9 @@
Jan Kratochvil 43d8d62
 from init file (if any) in the current working directory,
Jan Kratochvil 43d8d62
 see @ref{Init File in the Current Directory during Startup}.
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
+Note that loading of this local @file{.gdbinit} file also requires accordingly
Jan Kratochvil 43d8d62
+configured @code{auto-load safe-path} (@pxref{Auto-loading safe path}).
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
 @table @code
Jan Kratochvil 43d8d62
 @anchor{set auto-load local-gdbinit}
Jan Kratochvil 43d8d62
 @kindex set auto-load local-gdbinit
Jan Kratochvil 43d8d62
@@ -21148,6 +21155,9 @@
Jan Kratochvil 43d8d62
 auto-load libthread-db} is enabled before trying to open such thread debugging
Jan Kratochvil 43d8d62
 library.
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
+Note that loading of this debugging library also requires accordingly configured
Jan Kratochvil 43d8d62
+@code{auto-load safe-path} (@pxref{Auto-loading safe path}).
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
 @table @code
Jan Kratochvil 43d8d62
 @anchor{set auto-load libthread-db}
Jan Kratochvil 43d8d62
 @kindex set auto-load libthread-db
Jan Kratochvil 43d8d62
@@ -21175,6 +21185,9 @@
Jan Kratochvil 43d8d62
 canned sequences of commands (@pxref{Sequences}), as long as @samp{set
Jan Kratochvil 43d8d62
 auto-load gdb-scripts} is set to @samp{on}.
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
+Note that loading of this script file also requires accordingly configured
Jan Kratochvil 43d8d62
+@code{auto-load safe-path} (@pxref{Auto-loading safe path}).
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
 For more background refer to the similar Python scripts auto-loading
Jan Kratochvil 43d8d62
 description (@pxref{objfile-gdb.py file}).
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
@@ -25465,7 +25478,10 @@
Jan Kratochvil 43d8d62
 directories mentioned in the value of @code{debug-file-directory}.
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
 Finally, if this file does not exist, then @value{GDBN} will look for
Jan Kratochvil 43d8d62
-@var{script-name} file in all of the directories specified by:
Jan Kratochvil 43d8d62
+@var{script-name} file in all of the directories as specified below.
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
+Note that loading of this script file also requires accordingly configured
Jan Kratochvil 43d8d62
+@code{auto-load safe-path} (@pxref{Auto-loading safe path}).
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
 @table @code
Jan Kratochvil 43d8d62
 @anchor{set auto-load scripts-directory}
Jan Kratochvil 43d8d62
@@ -25542,6 +25558,9 @@
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
 The script name may include directories if desired.
Jan Kratochvil 43d8d62
 
Jan Kratochvil 43d8d62
+Note that loading of this script file also requires accordingly configured
Jan Kratochvil 43d8d62
+@code{auto-load safe-path} (@pxref{Auto-loading safe path}).
Jan Kratochvil 43d8d62
+
Jan Kratochvil 43d8d62
 If the macro is put in a header, any application or library
Jan Kratochvil 43d8d62
 using this header will get a reference to the specified script.
Jan Kratochvil 43d8d62