binutils-gdb/gdb/testsuite
Jan Kratochvil bccbefd2aa gdb/
New option "set auto-load safe-path".
	* NEWS: New commands "set auto-load safe-path"
	and "show auto-load safe-path".
	* auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h.
	(auto_load_safe_path, auto_load_safe_path_vec)
	(auto_load_safe_path_vec_update, set_auto_load_safe_path)
	(show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir)
	(filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New.
	(source_gdb_script_for_objfile): New variable is_safe.  Call
	file_is_auto_load_safe.  Return if it is not.
	(struct loaded_script): New field loaded.
	(maybe_add_script): Add parameter loaded.  Initialize SLOT with it.
	(print_script): Use LOADED indicator instead of FULL_PATH.  Change
	output "Missing" to "No".
	(_initialize_auto_load): New variable cmd.  Initialize
	auto_load_safe_path.  Register "set auto-load safe-path",
	"show auto-load safe-path" and "add-auto-load-safe-path".
	* auto-load.h (maybe_add_script): Add parameter loaded.
	(file_is_auto_load_safe): New declaration.
	* config.in: Regenerate.
	* configure: Regenerate.
	* configure.ac: New parameters --with-auto-load-safe-path
	and --without-auto-load-safe-path.
	* linux-thread-db.c (try_thread_db_load_from_pdir_1)
	(try_thread_db_load_from_dir): Check file_is_auto_load_safe first.
	* main.c (captured_main): Check file_is_auto_load_safe for
	LOCAL_GDBINIT.
	* python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New
	variable is_safe.  Call file_is_auto_load_safe.  Return if it is not.
	(source_section_scripts): Call file_is_auto_load_safe.  Return if it is
	not.

gdb/doc/
	New option "set auto-load safe-path".
	* gdb.texinfo (Auto-loading): Extend the "show auto-load"
	and "info auto-load" examples for safe-path.  Put there also references
	for "set auto-load safe-path" and "show auto-load safe-path".
	New menu item for Auto-loading safe path.
	(Auto-loading safe path): New node.
	(Python Auto-loading): Update the expected output from "Missing"
	to "No".

gdb/testsuite/
	New option "set auto-load safe-path".
	* gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
	* gdb.python/py-section-script.exp (set auto-load safe-path): New.
2012-04-17 15:54:35 +00:00
..
boards
config
gdb.ada [Ada] Crash when trying to set value of packed array element 2012-03-16 17:55:45 +00:00
gdb.arch gdb/testsuite/ 2012-03-02 18:43:46 +00:00
gdb.asm gdb/testsuite/ 2012-04-16 08:02:09 +00:00
gdb.base gdb/ 2012-04-17 15:51:48 +00:00
gdb.cell
gdb.cp linespec rewrite: 2012-04-05 18:50:29 +00:00
gdb.disasm
gdb.dwarf2 gdb/ 2012-03-16 18:26:02 +00:00
gdb.fortran
gdb.gdb gdb/ 2012-03-19 18:19:26 +00:00
gdb.hp
gdb.java * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'. 2012-03-05 19:38:17 +00:00
gdb.linespec linespec rewrite: 2012-04-05 18:50:29 +00:00
gdb.mi gdb/doc/ChangeLog: 2012-04-14 12:18:50 +00:00
gdb.modula2
gdb.multi
gdb.objc
gdb.opencl
gdb.opt gdb: 2012-03-16 16:47:34 +00:00
gdb.pascal
gdb.python gdb/ 2012-04-17 15:54:35 +00:00
gdb.reverse gdb/testsuite/ 2012-03-08 07:42:51 +00:00
gdb.server 2012-02-15 Pedro Alves <palves@redhat.com> 2012-02-15 12:51:17 +00:00
gdb.stabs
gdb.threads 2012-02-24 Pedro Alves <palves@redhat.com> 2012-02-24 14:06:29 +00:00
gdb.trace gdb/testsuite/ 2012-04-16 11:29:08 +00:00
gdb.xml gdb/ 2012-03-01 22:19:48 +00:00
lib gdb/testsuite/ 2012-04-16 11:29:08 +00:00
ChangeLog gdb/ 2012-04-17 15:54:35 +00:00
Makefile.in
TODO
aclocal.m4
configure
configure.ac
dg-extract-results.sh * dg-extract-results.sh: Handle KFAILs. 2012-03-18 04:17:16 +00:00