binutils-gdb/gdb/python
Doug Evans 02be9a7100 Add ability to add attributes to gdb.Objfile and gdb.Progspace objects.
gdb/ChangeLog:

	* NEWS: Mention ability add attributes to gdb.Objfile and
	gdb.Progspace objects.
	* python/py-objfile.c (objfile_object): New member dict.
	(objfpy_dealloc): Py_XDECREF dict.
	(objfpy_initialize): Initialize dict.
	(objfile_getset): Add __dict__.
	(objfile_object_type): Set tp_dictoffset member.
	* python/py-progspace.c (progspace_object): New member dict.
	(pspy_dealloc): Py_XDECREF dict.
	(pspy_initialize): Initialize dict.
	(pspace_getset): Add __dict__.
	(pspace_object_type): Set tp_dictoffset member.

gdb/doc/ChangeLog:

	* python.texi (Progspaces In Python): Document ability to add
	random attributes to gdb.Progspace objects.
	(Objfiles In Python): Document ability to add random attributes to
	gdb.objfile objects.

gdb/testsuite/ChangeLog:

	* gdb.python/py-objfile.exp: Add tests for setting random attributes
	in objfiles.
	* gdb.python/py-progspace.exp: Add tests for setting random attributes
	in progspaces.
2014-10-30 17:05:17 -07:00
..
lib/gdb Don't replace '\' with '\\' in before_prompt_hook 2014-10-30 09:42:36 +08:00
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c
py-cmd.c
py-continueevent.c
py-event.c
py-event.h New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-events.h New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-evtregistry.c
py-evts.c New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c
py-framefilter.c
py-function.c
py-gdb-readline.c
py-inferior.c New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-infthread.c
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-objfile.c Add ability to add attributes to gdb.Objfile and gdb.Progspace objects. 2014-10-30 17:05:17 -07:00
py-param.c
py-prettyprint.c
py-progspace.c Add ability to add attributes to gdb.Objfile and gdb.Progspace objects. 2014-10-30 17:05:17 -07:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-type.c
py-utils.c
py-value.c
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
python.c New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
python.h