binutils-gdb/gdb/python
Phil Muldoon 9df2fbc4c1 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
PR python/12656

	* python/py-frame.c (frapy_read_var): Use const struct *block.
	* python/py-type.c (typy_lookup_typename): Likewise.
	(typy_lookup_type): Likewise.
	(typy_legacy_template_argument): Likewise.
	(typy_template_argument): Likewise.
	(gdbpy_lookup_type): Likewise.
	* python/py-symbol.c (gdbpy_lookup_symbol): Likewise.
	* python/py-block.c (blpy_block_object): Likewise.
	(blpy_iter): Likewise.
	(blpy_get_start): Likewise.
	(blpy_get_end): Likewise.
	(blpy_get_function): Likewise.
	(blpy_get_superblock): Likewise.
	(set_block):  Likewise.
	(block_to_block_object): Likewise.
	(block_object_to_block): Likewise.
	(blpy_is_valid): Likewise.
	(blpy_get_global_block): New function.
	(blpy_get_static_block): New function.
	(blpy_is_global): New function.
	(blpy_is_static): New function.
	* blockframe.c (block_innermost_frame): Likewise.
	* valops.c (value_of_variable): Likewise.
	* frame.h: Update prototypes.
	* python/python-internal.h: Likewise.
	* value.h: Likewise.

2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>

	PR python/12656

	* gdb.texinfo (Blocks In Python): Document is_static, is_global,
	global_block, static_block function.

2011-10-20  Phil Muldoon  <pmuldoon@redhat.com>

	PR python/12656

	* gdb.python/py-block.exp: Add is_global, is_static, static_block,
	global_block tests.
2011-10-20 12:31:30 +00:00
..
lib/gdb * python/lib/gdb/printing.py (register_pretty_printer): New argument 2011-10-07 22:46:15 +00:00
py-auto-load.c * python/py-auto-load.c (source_section_scripts): Fix file 2011-09-19 19:01:40 +00:00
py-block.c 2011-10-20 Phil Muldoon <pmuldoon@redhat.com> 2011-10-20 12:31:30 +00:00
py-bpevent.c 2011-09-15 Kevin Pouget <kevin.pouget@st.com> 2011-09-15 12:27:20 +00:00
py-breakpoint.c * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Ensure GIL is 2011-10-13 14:54:14 +00:00
py-cmd.c * python/py-cmd.c (gdbpy_string_to_argv): Decrement reference 2011-09-15 18:33:15 +00:00
py-continueevent.c
py-event.c
py-event.h Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-events.h Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-evtregistry.c
py-evts.c Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-exitedevent.c 2011-10-04 Kevin Pouget <kevin.pouget@st.com> 2011-10-04 08:04:13 +00:00
py-frame.c 2011-10-20 Phil Muldoon <pmuldoon@redhat.com> 2011-10-20 12:31:30 +00:00
py-function.c
py-inferior.c Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
py-infthread.c
py-lazy-string.c
py-newobjfileevent.c Add missing files to previous commit (Allow Python notification of new object-file loadings.) 2011-10-07 08:39:57 +00:00
py-objfile.c
py-param.c * py-cmd.c: Some minor formatting fixes. 2011-09-08 19:51:27 +00:00
py-prettyprint.c
py-progspace.c
py-signalevent.c
py-stopevent.c 2011-09-15 Kevin Pouget <kevin.pouget@st.com> 2011-09-15 12:27:20 +00:00
py-stopevent.h 2011-09-15 Kevin Pouget <kevin.pouget@st.com> 2011-09-15 12:27:20 +00:00
py-symbol.c 2011-10-20 Phil Muldoon <pmuldoon@redhat.com> 2011-10-20 12:31:30 +00:00
py-symtab.c
py-threadevent.c
py-type.c 2011-10-20 Phil Muldoon <pmuldoon@redhat.com> 2011-10-20 12:31:30 +00:00
py-utils.c
py-value.c * python/py-value.c (valpy_call): Initialize ftype to avoid compiler 2011-10-07 22:02:42 +00:00
python-config.py
python-internal.h 2011-10-20 Phil Muldoon <pmuldoon@redhat.com> 2011-10-20 12:31:30 +00:00
python.c Allow Python notification of new object-file loadings. 2011-10-07 07:38:30 +00:00
python.h