old-cross-binutils/gdb/python
Phil Muldoon 1e611234ee 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
* stack.c (backtrace_command_1): Add "no-filters", and Python frame
	filter logic.
	(backtrace_command): Add "no-filters" option parsing.
	(_initialize_stack): Alter help to reflect "no-filters" option.
	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
	(SUBDIR_PYTHON_SRCS): Add py-framefilter.c
	(py-frame.o): Add target
	* data-directory/Makefile.in (PYTHON_DIR): Add Python frame
	filter files.
	* python/python.h: Add new frame filter constants, and flag enum.
	(apply_frame_filter): Add definition.
	* python/python.c (apply_frame_filter): New non-Python
	enabled function.
	* python/py-utils.c (py_xdecref): New function.
	(make_cleanup_py_xdecref): Ditto.
	* python/py-objfile.c: Declare frame_filters dictionary.
	(objfpy_dealloc): Add frame_filters dealloc.
	(objfpy_new): Initialize frame_filters attribute.
	(objfile_to_objfile_object): Ditto.
	(objfpy_get_frame_filters): New function.
	(objfpy_set_frame_filters): New function.
	* python/py-progspace.c: Declare frame_filters dictionary.
	(pspy_dealloc): Add frame_filters dealloc.
	(pspy_new): Initialize frame_filters attribute.
	(pspacee_to_pspace_object): Ditto.
	(pspy_get_frame_filters): New function.
	(pspy_set_frame_filters): New function.
	* python/py-framefilter.c: New file.
	* python/lib/gdb/command/frame_filters.py: New file.
	* python/lib/gdb/frames.py: New file.
	* python/lib/gdb/__init__.py: Initialize global frame_filters
	dictionary
	* python/lib/gdb/FrameDecorator.py: New file.
	* python/lib/gdb/FrameIterator.py: New file.
	* mi/mi-cmds.c (mi_cmds): Add frame filters command.
	* mi/mi-cmds.h: Declare.
	* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
	--no-frame-filter logic, and Python frame filter logic.
	(stack_enable_frame_filters): New function.
	(parse_no_frame_option): Ditto.
	(mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
	filter logic.
	(mi_cmd_stack_list_locals): Ditto.
	(mi_cmd_stack_list_args): Ditto.
	(mi_cmd_stack_list_variables): Ditto.
	* NEWS: Add frame filter note.

2013-05-10  Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.python/py-framefilter.py: New File.
	* gdb.python/py-framefilter-mi.exp: Ditto.
	* gdb.python/py-framefilter.c: Ditto.
	* gdb.python/py-framefilter-mi.exp: Ditto.
	* gdb.python/py-framefilter-mi.c: Ditto,
	* gdb.python/py-framefilter-gdb.py.in: Ditto.

2013-05-10 Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.texinfo (Backtrace): Add "no-filter" argument.
	(Python API): Add Frame	Filters API, Frame Wrapper API,
	Writing a Frame Filter/Wrapper,	Managing Management of Frame
	Filters chapter entries.
	(Frame Filters API): New Node.
	(Frame Wrapper API): New Node.
	(Writing a Frame Filter): New Node.
	(Managing Frame Filters): New Node.
	(Progspaces In Python): Add note about frame_filters attribute.
	(Objfiles in Python): Ditto.
	(GDB/MI Stack Manipulation): Add -enable-frame-filters command,
	@anchors and --no-frame-filters option to -stack-list-variables,
	-stack-list-frames, -stack-list-locals and -stack-list-arguments
	commands.
2013-05-10 10:26:03 +00:00
..
lib/gdb 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
py-arch.c * python/py-arch.c (archpy_disassemble): Use PyInt_Check and 2013-02-28 20:14:08 +00:00
py-auto-load.c Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
py-block.c * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside 2013-02-28 19:01:54 +00:00
py-bpevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-breakpoint.c 2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com> 2013-02-15 17:12:29 +00:00
py-cmd.c Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
py-continueevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-event.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-event.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-events.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-evtregistry.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-evts.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-exitedevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-finishbreakpoint.c * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. 2013-02-28 20:01:10 +00:00
py-frame.c Add a new class gdb.Architecture which exposes GDB's 2013-01-23 19:59:13 +00:00
py-framefilter.c 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
py-function.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-gdb-readline.c 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> 2013-01-31 18:37:39 +00:00
py-inferior.c -Wpointer-sign: python/. 2013-04-19 15:29:09 +00:00
py-infthread.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-lazy-string.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-newobjfileevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-objfile.c 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
py-param.c Constify strings in tracepoint.c, lookup_cmd and the completers. 2013-03-13 18:34:55 +00:00
py-prettyprint.c -Wpointer-sign: python/. 2013-04-19 15:29:09 +00:00
py-progspace.c 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
py-signalevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-stopevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-stopevent.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-symbol.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-symtab.c gdb/ 2013-02-03 16:13:31 +00:00
py-threadevent.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
py-type.c * python/py-type.c (typy_strip_typedefs): Don't call check_typedef 2013-02-06 17:05:22 +00:00
py-utils.c 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
py-value.c -Wpointer-sign: python/. 2013-04-19 15:29:09 +00:00
python-config.py Add support for Python 3. 2012-12-12 16:47:30 +00:00
python-internal.h 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
python.c 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00
python.h 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> 2013-05-10 10:26:03 +00:00