old-cross-binutils/gdb/testsuite/gdb.python
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
..
lib-types.cc
lib-types.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
Makefile.in 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-block.c
py-block.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-breakpoint.c
py-breakpoint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-cmd.exp * NEWS: Mention new python command class gdb.COMMAND_USER. 2012-03-01 19:30:25 +00:00
py-error.exp
py-error.py
py-events-shlib.c
py-events.c 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> 2012-01-05 13:11:31 +00:00
py-events.exp PR python/12070: 2012-02-17 19:24:27 +00:00
py-events.py PR python/12070: 2012-02-17 19:24:27 +00:00
py-evsignal.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-evthreads.c
py-evthreads.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-explore-cc.exp 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-explore.c 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-explore.cc 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-explore.exp 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-finish-breakpoint.c
py-finish-breakpoint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint.py 2012-01-20 Pedro Alves <palves@redhat.com> 2012-01-20 20:00:14 +00:00
py-finish-breakpoint2.cc
py-finish-breakpoint2.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint2.py
py-frame-inline.c
py-frame-inline.exp
py-frame.c
py-frame.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-function.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-inferior.c
py-inferior.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-infthread.c
py-infthread.exp * gdb.ada/array_bounds.exp: Get breakpoint for line 2012-03-08 22:19:48 +00:00
py-mi.exp
py-objfile-script-gdb.py.in
py-objfile-script.c
py-objfile-script.exp gdb/ 2012-04-17 15:54:35 +00:00
py-objfile.c
py-objfile.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-parameter.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-pp-maint.c gdb 2012-01-16 19:44:16 +00:00
py-pp-maint.exp gdb 2012-01-16 19:44:16 +00:00
py-pp-maint.py gdb 2012-01-16 19:44:16 +00:00
py-prettyprint.c
py-prettyprint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-prettyprint.py
py-progspace.c
py-progspace.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-prompt.c
py-prompt.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-section-script.c
py-section-script.exp gdb/ 2012-04-17 15:54:35 +00:00
py-section-script.py
py-shared-sl.c
py-shared.c
py-shared.exp
py-symbol.c PR python/12027: 2012-02-07 19:47:16 +00:00
py-symbol.exp * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests 2012-02-08 19:58:25 +00:00
py-symtab.exp PR python/13599: 2012-02-07 19:42:27 +00:00
py-template.cc
py-template.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-type.c
py-type.exp PR python/12070: 2012-02-17 19:24:27 +00:00
py-value-cc.exp 2012-03-14 Siva Chandra <sivachandra@google.com> 2012-03-22 08:10:44 +00:00
py-value.c
py-value.cc 2012-03-14 Siva Chandra <sivachandra@google.com> 2012-03-22 08:10:44 +00:00
py-value.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
python-1.c
python.c
python.exp * gdb.python: Add test for linespecs with commas. 2012-03-30 19:16:52 +00:00
source1
source2.py