binutils-gdb/gdb/python
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
..
lib/gdb Xmethod support in Python. 2014-06-03 10:03:07 -07:00
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c
py-cmd.c * python/py-cmd.c (cmdpy_completer): Add comment. 2014-05-13 19:44:51 -07:00
py-continueevent.c
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c Rename frame_stop_reason_string to unwind_stop_reason_to_string. 2014-05-30 22:40:29 +01:00
py-framefilter.c
py-function.c
py-gdb-readline.c
py-inferior.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
py-infthread.c
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
py-param.c
py-prettyprint.c
py-progspace.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c Add new infrun.h header. 2014-05-22 12:29:11 +01:00
py-type.c
py-utils.c
py-value.c [python] Fix gdb.Value.dynamic_type for reference values. 2014-04-07 14:18:44 -07:00
py-xmethods.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
python-config.py
python-internal.h Xmethod support in Python. 2014-06-03 10:03:07 -07:00
python.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
python.h