This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 4ffbba72f39aa4a8c6833618b9fd552df33ca69a
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 17 Oct 2014 18:13:55 -0000
- Subject: gdb and binutils branch master updated. 4ffbba72f39aa4a8c6833618b9fd552df33ca69a
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 4ffbba72f39aa4a8c6833618b9fd552df33ca69a (commit)
from d096d8c11e4ab306d45e8dca811db2fa33e933a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ffbba72f39aa4a8c6833618b9fd552df33ca69a
commit 4ffbba72f39aa4a8c6833618b9fd552df33ca69a
Author: Doug Evans <dje@google.com>
Date: Fri Oct 17 11:12:17 2014 -0700
New python event "clear_objfiles".
If one is watching new_objfile events in python, it helps to know
when the list of objfiles is cleared. This patch adds a new
clear_objfiles event to support this.
This patch is all just cut-n-paste-n-tweak derived from
the new_objfiles event.
gdb/ChangeLog:
* NEWS: Mention new event gdb.clear_objfiles.
* python/py-event.h (emit_clear_objfiles_event): Clear
* python/py-events.h (events_object): New member clear_objfiles.
* python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
event.
* python/py-inferior.c (python_new_objfile): If objfile is NULL,
emit clear_objfiles event.
* python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
function.
(emit_clear_objfiles_event): New function.
(clear_objfiles): New event.
* python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
Declare.
* python/python.c (_initialize_python): Call
gdbpy_initialize_clear_objfiles_event.
gdb/doc/ChangeLog:
* python.texi (Events In Python): Document clear_objfiles event.
gdb/testsuite/ChangeLog:
* gdb.python/py-events.exp: Update expected output for clear_objfiles
event.
* gdb.python/py-events.py: Add clear_objfiles event.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 18 ++++++++++
gdb/NEWS | 2 +
gdb/doc/ChangeLog | 4 ++
gdb/doc/python.texi | 10 ++++++
gdb/python/py-event.h | 1 +
gdb/python/py-events.h | 1 +
gdb/python/py-evts.c | 3 ++
gdb/python/py-inferior.c | 23 +++++++++----
gdb/python/py-newobjfileevent.c | 55 ++++++++++++++++++++++++++++++++
gdb/python/python-internal.h | 2 +
gdb/python/python.c | 1 +
gdb/testsuite/ChangeLog | 6 +++
gdb/testsuite/gdb.python/py-events.exp | 1 +
gdb/testsuite/gdb.python/py-events.py | 6 +++
14 files changed, 126 insertions(+), 7 deletions(-)
hooks/post-receive
--
gdb and binutils