binutils-gdb/gdb/python/lib/gdb
Siva Chandra 883964a75e Xmethod support in Python.
* python/py-xmethods.c: New file.
	* python/py-objfile.c (objfile_object): New field 'xmethods'.
	(objfpy_dealloc): XDECREF on the new xmethods field.
	(objfpy_new, objfile_to_objfile_object): Initialize xmethods
	field.
	(objfpy_get_xmethods): New function.
	(objfile_getset): New entry 'xmethods'.
	* python/py-progspace.c (pspace_object): New field 'xmethods'.
	(pspy_dealloc): XDECREF on the new xmethods field.
	(pspy_new, pspace_to_pspace_object): Initialize	xmethods
	field.
	(pspy_get_xmethods): New function.
	(pspace_getset): New entry 'xmethods'.
	* python/python-internal.h: Add declarations for new functions.
	* python/python.c (_initialize_python): Invoke
	gdbpy_initialize_xmethods.
	* python/lib/gdb/__init__.py (xmethods): New
	attribute.
	* python/lib/gdb/xmethod.py: New file.
	* python/lib/gdb/command/xmethods.py: New file.

	testuite/
	* gdb.python/py-xmethods.cc: New testcase to test xmethods.
	* gdb.python/py-xmethods.exp: New tests to test xmethods.
	* gdb.python/py-xmethods.py: Python script supporting the
	new testcase and tests.
2014-06-03 10:03:07 -07:00
..
command Xmethod support in Python. 2014-06-03 10:03:07 -07:00
function Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
__init__.py Xmethod support in Python. 2014-06-03 10:03:07 -07:00
FrameDecorator.py avoid python exception in FrameDecorator.py 2014-01-23 08:03:52 -07:00
FrameIterator.py Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
frames.py Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
printing.py [Python] Make regexp collection printers work with typedefs as well. 2014-02-26 11:04:12 -08:00
prompt.py Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
types.py Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
xmethod.py Xmethod support in Python. 2014-06-03 10:03:07 -07:00