binutils-gdb/gdb/testsuite/gdb.python
Kevin Pouget 20c168b519 Allow Python notification of new object-file loadings.
* Makefile.in (SUBDIR_PYTHON_SRCS): Add py-newobjfilevent.c.
	(SUBDIR_PYTHON_OBS): Add py-newobjfileevent.o.
	Add build rule for this file.
	* python/py-event.h (emit_new_objfile_event): New prototype.
	(newobjfile): New Python event emitter.
	* python/py-evts.c (gdbpy_initialize_py_events): Add new_objfile to
	Python event registry.
	* python/py-inferior.c: Include objfiles.h
	(python_new_objfile): New function.
	(gdbpy_initialize_inferior): Add python_new_objfile to the new objfile
	observers.
	* python/py-newobjfileevent.c: New file.
	* python-internal.h (gdbpy_initialize_new_objfile_event): New
	prototype.
	* python/python.c (_initialize_python): Add
	gdbpy_initialize_new_objfile_event call.
	* NEWS: Add item for new Python event "gdb.newobjfile"

2011-10-06  Kevin Pouget  <kevin.pouget@st.com>

	Allow Python notification of new object-file loadings.
	* gdb.texinfo (Events In Python): Document `gdb.NewObjFileEvent'
	event type.

2011-10-06  Kevin Pouget  <kevin.pouget@st.com>

	Allow Python notification of new object-file loadings.
	* gdb.python/py-events.exp: Test newobjfile event.
	* gdb.python/py-events.py: Register newobjfile callback.
	* gdb.python/py-events.c: Add call to shared library
	* gdb.python/py-events-shlib.c: New file.
2011-10-07 07:38:30 +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-05-16 Pedro Alves <pedro@codesourcery.com> 2011-05-16 13:56:41 +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 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints 2011-07-22 17:46:18 +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 Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-events.exp Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-events.py Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-evsignal.exp gdb/testsuite/ 2011-09-13 21:39:59 +00:00
py-evthreads.c gdb/testsuite/ 2011-09-13 21:39:59 +00:00
py-evthreads.exp gdb/testsuite/ 2011-09-16 07:34:27 +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 2011-07-11 Phil Muldoon <pmuldoon@redhat.com> 2011-07-11 13:07:38 +00:00
py-inferior.c py-inferior.exp: Make sure local var is allocated on the stack. 2011-06-08 16:56:11 +00:00
py-inferior.exp 2011-09-15 Kevin Pouget <kevin.pouget@st.com> 2011-09-15 12:42:30 +00:00
py-infthread.c
py-infthread.exp 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-mi.exp 2011-07-28 Phil Muldoon <pmuldoon@redhat.com> 2011-07-28 10:36:40 +00:00
py-objfile-script-gdb.py.in * gdb.python/py-objfile-script-gdb.py: Renamed to 2011-07-13 17:00:56 +00:00
py-objfile-script.c * NEWS: Mention "info auto-load-scripts". 2011-05-13 22:11:47 +00:00
py-objfile-script.exp * gdb.python/py-objfile-script-gdb.py: Renamed to 2011-07-13 17:00:56 +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-07-28 Phil Muldoon <pmuldoon@redhat.com> 2011-07-28 10:36:40 +00:00
py-prettyprint.exp * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of 2011-07-26 18:38:55 +00:00
py-prettyprint.py 2011-07-28 Phil Muldoon <pmuldoon@redhat.com> 2011-07-28 10:36:40 +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-prompt.c PR gdb/10720 2011-09-02 21:16:54 +00:00
py-prompt.exp PR gdb/10720 2011-09-02 21:16:54 +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 * gdb.python/py-shared.exp: Call gdb_load_shlibs. 2011-07-22 17:45:16 +00:00
py-symbol.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-symbol.exp * NEWS: Mention new "type" attribute of python gdb.Symbol objects. 2011-08-12 22:21:57 +00:00
py-symtab.exp gdb.python/python.exp: Update filename paths. 2011-07-06 22:15:02 +00:00
py-template.cc run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
py-template.exp * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of 2011-07-26 18:38:55 +00:00
py-type.c * gdb.python/py-type.c (enum E): New. 2011-09-28 20:06:01 +00:00
py-type.exp * gdb.python/py-type.c (enum E): New. 2011-09-28 20:06:01 +00:00
py-value.c * gdb.python/py-value.c (main): Break before return. 2011-10-04 17:43:16 +00:00
py-value.exp * gdb.python/py-value.exp 2011-10-03 16:15:26 +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 gdb.python/python.exp: fix up race 2011-09-30 15:07:33 +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