aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2011-02-04 21:54:16 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2011-02-04 21:54:16 +0000
commit505500db28fbb90d6391c2fdcfd27bcab443cd9c (patch)
tree82a0b8c11cf0c80e0b16b73d3b468427ad8be8b6 /gdb/NEWS
parent9e0ac564072ea01f85a0f3c1f8b873abbbe634be (diff)
downloadgdb-505500db28fbb90d6391c2fdcfd27bcab443cd9c.zip
gdb-505500db28fbb90d6391c2fdcfd27bcab443cd9c.tar.gz
gdb-505500db28fbb90d6391c2fdcfd27bcab443cd9c.tar.bz2
Add Python support for GDB events.
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> * gdb.python/py-evthreads.c: New file. * gdb.python/py-evthreads.exp: New file. * gdb.python/py-events.py: New file. * gdb.python/py-events.exp: New file. * gdb.python/py-events.c: New file. 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> Oguz Kayral <oguzkayral@gmail.com> * python/py-inferior.c (python_on_normal_stop): New function. (python_on_resume): New function. (python_inferior_exit): New function. (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and inferior_exit observers. * python/py-evtregistry.c: New file. * python/py-threadevent.c : New file. * python/py-event.c: New file. * python/py-evts.c: New file. * python/py-continueevent.c: New file. * python/py-bpevent.c: New file. * python/py-signalevent.c: New file. * python/py-exetiedevent.c: New file. * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. Move struct breakpoint_object from here... * python/python-internal.h: ... to here. * python/py-event.h: New file. * python/py-events.h: New file. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. Add build rules for all the above.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index c53dbc7..234fb7b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -62,6 +62,14 @@
** The gdb.InferiorThread class has a new "name" attribute. This
holds the thread's name.
+ ** Python Support for Inferior events.
+ Python scripts can add observers to be notified of events
+ occurring the in process being debugged.
+ The following events are currently supported:
+ - gdb.events.cont Continue event.
+ - gdb.events.exited Inferior exited event.
+ - gdb.events.stop Signal received, and Breakpoint hit events.
+
* C++ Improvements:
** GDB now puts template parameters in scope when debugging in an