binutils-gdb/gdb/doc
Tom Tromey 7c96f8c1da Add new_inferior, inferior_deleted, and new_thread events
This adds a few new events to gdb's Python layer: new_inferior,
inferior_deleted, and new_thread.  I wanted to be able to add a
combined inferior/thread display window to my GUI, and I needed a few
events to make this work.  This is PR python/15622.

ChangeLog
2017-09-11  Tom Tromey  <tom@tromey.com>

	PR python/15622:
	* NEWS: Add entry.
	* python/python.c (do_start_initialization): Initialize new event
	types.
	* python/python-internal.h (gdbpy_initialize_new_inferior_event)
	(gdbpy_initialize_inferior_deleted_event)
	(gdbpy_initialize_new_thread_event): Declare.
	* python/py-threadevent.c (create_thread_event_object): Add option
	"thread" parameter.
	* python/py-inferior.c (new_thread_event_object_type)
	(new_inferior_event_object_type)
	(inferior_deleted_event_object_type): Declare.
	(python_new_inferior, python_inferior_deleted): New functions.
	(add_thread_object): Emit new_thread event.
	(gdbpy_initialize_inferior): Attach new functions to corresponding
	observers.
	(new_thread, new_inferior, inferior_deleted): Define new event
	types.
	* python/py-evts.c (gdbpy_initialize_py_events): Add new
	registries.
	* python/py-events.h (events_object) <new_inferior,
	inferior_deleted, new_thread>: New fields.
	* python/py-event.h (create_thread_event_breakpoint): Add optional
	"thread" parameter.

doc/ChangeLog
2017-09-11  Tom Tromey  <tom@tromey.com>

	* python.texi (Events In Python): Document new events.

testsuite/ChangeLog
2017-09-11  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-infthread.exp: Add tests for new_thread event.
	* gdb.python/py-inferior.exp: Add tests for new inferior events.
2017-09-11 14:15:20 -06:00
..
.gitignore Update and add .gitignore's 2016-09-21 13:12:21 -04:00
ChangeLog Add new_inferior, inferior_deleted, and new_thread events 2017-09-11 14:15:20 -06:00
Doxyfile-base.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
Doxyfile-gdb-api.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
Doxyfile-gdb-xref.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
Doxyfile-gdbserver.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
Makefile.in Introduce "gdb/configure.nat" (and delete "gdb/config/*/*.mh" files) 2017-05-06 10:09:35 -04:00
a4rc.sed
agentexpr.texi Fix documentation about rot agent expression bytecode 2017-07-31 11:26:50 +02:00
all-cfg.texi update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
annotate.texinfo update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
doxy-index.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
fdl.texi
filter-for-doxygen
filter-params.pl
gdb.texinfo Document "no debug info debugging" improvements 2017-09-04 20:21:16 +01:00
gpl.texi
guile.texi Fix PR gdb/21606: SYMBOL_FUNCTIONS_DOMAIN misspelled in documentation 2017-06-20 21:31:59 -04:00
lpsrc.sed
observer.texi update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
psrc.sed
python.texi Add new_inferior, inferior_deleted, and new_thread events 2017-09-11 14:15:20 -06:00
refcard.tex update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
stabs.texinfo update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
stack_frame.eps
stack_frame.pdf
stack_frame.png
stack_frame.svg
stack_frame.txt