binutils-gdb/gdb/python
Thiago Jung Bauermann f8f6f20b6e gdb/
Expose frames to Python.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add python-frame.o.
	(SUBDIR_PYTHON_SRCS): Add python-frame.c.
	(python-frame.o): New target.
	* python/python-frame.c: New file.
	* python/python-internal.h (gdbpy_frames, gdbpy_newest_frame,
	gdbpy_frame_stop_reason_string, gdbpy_selected_frame,
	gdbpy_initialize_frames): New prototypes.
	* python/python.c (_initialize_python): Call gdbpy_initialize_frames.
	(GdbMethods): Add `selected_frame' and `frame_stop_reason_string'
	entries.
	* stack.c (find_frame_funname): New function, factored out of
	print_frame.
	(print_frame): Call find_frame_funname.
	* stack.h (find_frame_funname): Add prototype.

gdb/doc/
	* gdb.texinfo (Frames in Python): New node.
	(Python API): Update.

gdb/testsuite/
	* gdb.python/python-frame.c: New file.
	* gdb.python/python-frame.exp: New file.
2009-03-30 19:54:33 +00:00
..
python-cmd.c gdb/ 2009-03-21 03:13:02 +00:00
python-frame.c gdb/ 2009-03-30 19:54:33 +00:00
python-function.c gdb/ 2009-03-21 03:03:56 +00:00
python-internal.h gdb/ 2009-03-30 19:54:33 +00:00
python-utils.c 2009-02-26 Phil Muldoon <pmuldoon@redhat.com> 2009-02-26 20:45:21 +00:00
python-value.c Remove unused value_object attribute `owned_by_gdb'. 2009-03-29 21:19:40 +00:00
python.c gdb/ 2009-03-30 19:54:33 +00:00
python.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00