binutils-gdb/gdb/testsuite/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
..
Makefile.in * configure.ac: Output gdb.python/Makefile. 2008-10-19 19:59:31 +00:00
python-cmd.exp gdb/ 2009-03-21 03:13:02 +00:00
python-frame.c gdb/ 2009-03-30 19:54:33 +00:00
python-frame.exp gdb/ 2009-03-30 19:54:33 +00:00
python-function.exp gdb/ 2009-03-21 03:13:02 +00:00
python-value.c gdb/ 2009-02-04 21:55:40 +00:00
python-value.exp gdb/ 2009-03-29 21:11:11 +00:00
python.exp * NEWS: Document "define" for prefixed commands. 2009-01-14 20:40:09 +00:00