old-cross-binutils/gdb/testsuite/gdb.python
Doug Evans 8a1ea21f7e Add support for auto-loading scripts from .debug_gdb_scripts section.
* NEWS: Add entry for .debug_gdb_scripts.
	* Makefile.in SUBDIR_PYTHON_OBS): Add py-auto-load.o.
	(SUBDIR_PYTHON_SRCS): Add py-auto-load.c.
	(py-auto-load.o): New rule.
	* cli/cli-cmds.c (find_and_open_script): Make externally visible.
	* cli/cli-cmds.h (find_and_open_script): Update prototype.
	* python/py-auto-load.c: New file.
	* python/python-internal.h: #include <stdio.h>.
	(set_python_list, show_python_list): Declare.
	(gdbpy_initialize_auto_load): Declare.
	(source_python_script_for_objfile): Declare.
	* python/python.c: Remove #include of observer.h.
	(gdbpy_auto_load): Moved to py-auto-load.c.
	(GDBPY_AUTO_FILENAME): Ditto.
	(gdbpy_new_objfile): Delete.
	(source_python_script_for_objfile): New function.
	(set_python_list, show_python_list): Make externally visible.
	(_initialize_python): Move "auto-load" command to py-auto-load.c
	and observer_attach_new_objfile to py-auto-load.c.

	doc/
	* gdb.texinfo (Python): Move Auto-loading section here ...
	(Python API): from here.
	(Auto-loading): Add docs for .debug_gdb_scripts auto-loaded scripts.
	(Maintenance Commands): Add docs for "maint print section-scripts".

	testsuite/
	* gdb.python/py-section-script.c: New file.
	* gdb.python/py-section-script.exp: New file.
	* gdb.python/py-section-script.py: New file.
2010-04-23 16:20:13 +00:00
..
Makefile.in 2010-04-09 Phil Muldoon <pmuldoon@redhat.com> 2010-04-09 09:41:43 +00:00
py-block.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-block.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-breakpoint.c 2010-04-12 Phil Muldoon <pmuldoon@redhat.com> 2010-04-12 09:49:35 +00:00
py-breakpoint.exp 2010-04-09 Phil Muldoon <pmuldoon@redhat.com> 2010-04-09 09:41:43 +00:00
py-cmd.exp
py-frame.c 2010-02-28 Phil Muldoon <pmuldoon@redhat.com> 2010-02-28 21:56:50 +00:00
py-frame.exp 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 13:18:55 +00:00
py-function.exp
py-mi.exp 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 12:02:46 +00:00
py-prettyprint.c 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 12:02:46 +00:00
py-prettyprint.exp 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 12:02:46 +00:00
py-prettyprint.py 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 12:02:46 +00:00
py-progspace.c * NEWS: Add entry for python program space support. 2010-04-15 19:54:13 +00:00
py-progspace.exp * NEWS: Add entry for python program space support. 2010-04-15 19:54:13 +00:00
py-section-script.c Add support for auto-loading scripts from .debug_gdb_scripts section. 2010-04-23 16:20:13 +00:00
py-section-script.exp Add support for auto-loading scripts from .debug_gdb_scripts section. 2010-04-23 16:20:13 +00:00
py-section-script.py Add support for auto-loading scripts from .debug_gdb_scripts section. 2010-04-23 16:20:13 +00:00
py-symbol.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symbol.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
py-symtab.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-template.cc
py-template.exp
py-type.c
py-type.exp
py-value.c 2010-04-08 Phil Muldoon <pmuldoon@redhat.com> 2010-04-08 10:28:42 +00:00
py-value.exp 2010-04-08 Phil Muldoon <pmuldoon@redhat.com> 2010-04-08 10:28:42 +00:00
python.exp
source1
source2.py