binutils-gdb/gdb/testsuite/gdb.python
Doug Evans dbaefcf757 * NEWS: Mention "info auto-load-scripts".
* python/py-auto-load.c (struct auto_load_pspace_info): New member
	script_not_found_warning_printed.
	(init_loaded_scripts_info): Renamed from create_loaded_scripts_hash,
	all callers updated.  Initialize script_not_found_warning_printed.
	(get_auto_load_pspace_data_for_loading): New function.
	(maybe_add_script): New function.
	(source_section_scripts): Simplify.  Only print one warning regardless
	of the number of auto-load scripts not found.
	(clear_section_scripts): Clear script_not_found_warning_printed.
	(auto_load_objfile_script): Record script in hash table.
	(count_matching_scripts): New function.
	(maybe_print_script): Renamed from maybe_print_section_script, all
	callers updated.  Rewrite to use ui_out_*.
	(info_auto_load_scripts): Renamed from
	maintenance_print_section_scripts, all callers updated.
	(gdbpy_initialize_auto_load): "maintenance print section-scripts"
	renamed as "info auto-load-scripts".

	doc/
	* gdb.texinfo (Auto-loading): Document "info auto-load-scripts".

	testsuite/
	* gdb.python/py-objfile-script.exp: New file.
	* gdb.python/py-objfile-script.c: New file.
	* gdb.python/py-objfile-script-gdb.py: New file.
	* testsuite/gdb.python/py-section-script.exp: Test
	"info auto-load-scripts".
2011-05-13 22:11:47 +00:00
..
lib-types.cc run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
lib-types.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
Makefile.in 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-block.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-block.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-breakpoint.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-breakpoint.exp 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> 2011-03-14 16:09:55 +00:00
py-cmd.exp 2011-01-10 Phil Muldoon <pmuldoon@redhat.com> 2011-01-10 11:00:24 +00:00
py-error.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-error.py run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-events.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-events.exp Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-events.py Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-evthreads.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-evthreads.exp Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-frame-inline.c gdb/ 2011-04-17 14:14:23 +00:00
py-frame-inline.exp gdb/ 2011-04-17 14:14:23 +00:00
py-frame.c
py-frame.exp use prepare_for_testing in gdb.python/py-frame.exp 2011-02-26 14:06:28 +00:00
py-function.exp gdb/ 2011-05-13 04:34:25 +00:00
py-inferior.c * gdb.stabs/gdb11479.c (hack): New function. 2010-07-27 16:58:22 +00:00
py-inferior.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-infthread.c 2010-06-28 Phil Muldoon <pmuldoon@redhat.com> 2010-06-28 21:16:04 +00:00
py-infthread.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-mi.exp 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> 2011-04-29 12:45:46 +00:00
py-objfile-script-gdb.py * NEWS: Mention "info auto-load-scripts". 2011-05-13 22:11:47 +00:00
py-objfile-script.c * NEWS: Mention "info auto-load-scripts". 2011-05-13 22:11:47 +00:00
py-objfile-script.exp * NEWS: Mention "info auto-load-scripts". 2011-05-13 22:11:47 +00:00
py-objfile.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-objfile.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-parameter.exp 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> 2011-03-10 12:29:08 +00:00
py-pp-maint.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-pp-maint.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-pp-maint.py run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-prettyprint.c 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> 2011-04-29 12:45:46 +00:00
py-prettyprint.exp gdb/testsuite/ 2011-04-11 17:40:41 +00:00
py-prettyprint.py gdb/testsuite/ 2011-04-11 17:40:41 +00:00
py-progspace.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-progspace.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-section-script.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-section-script.exp * NEWS: Mention "info auto-load-scripts". 2011-05-13 22:11:47 +00:00
py-section-script.py run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-shared-sl.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-shared.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-shared.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-symbol.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-symbol.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-symtab.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-template.cc run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-template.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-type.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-type.exp run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-value.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-value.exp gdb/testsuite/ 2011-04-24 09:04:38 +00:00
python-1.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
python.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
python.exp 2011-03-18 Phil Muldoon <pmuldoon@redhat.com> 2011-03-18 08:44:47 +00:00
source1 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
source2.py run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00