old-cross-binutils/gdb/python
Siva Chandra a16b0e220d 2013-12-12 Siva Chandra Reddy <sivachandra@google.com>
PR python/16113
	* NEWS (Python Scripting): Add entry for the new feature and the
	new attribute of gdb.Field objects.
	* python/py-type.c (gdbpy_is_field): New function
	(convert_field): Add 'parent_type' attribute to gdb.Field
	objects.
	* python/py-value.c (valpy_getitem): Allow subscript value to be
	a gdb.Field object.
	(value_has_field): New function
	(get_field_flag): New function
	* python/python-internal.h (gdbpy_is_field): Add declaration.

	testsuite/
	* gdb.python/py-value-cc.cc: Improve test case.
	* gdb.python/py-value-cc.exp: Add new tests to test usage of
	gdb.Field objects as subscripts on gdb.Value objects.

	doc/
	* gdb.texinfo (Values From Inferior): Add a note about using
	gdb.Field objects as subscripts on gdb.Value objects.
	(Types In Python): Add description about the new attribute
	"parent_type" of gdb.Field objects.
2013-12-12 15:21:53 -08:00
..
lib/gdb
py-arch.c
py-auto-load.c Move .debug_gdb_script processing to auto-load.c. 2013-11-29 21:29:26 -08:00
py-block.c
py-bpevent.c
py-breakpoint.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-cmd.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-continueevent.c
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-exitedevent.c
py-finishbreakpoint.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-frame.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-framefilter.c
py-function.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-gdb-readline.c
py-inferior.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-infthread.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c
py-param.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-prettyprint.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-progspace.c
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-symtab.c
py-threadevent.c
py-type.c 2013-12-12 Siva Chandra Reddy <sivachandra@google.com> 2013-12-12 15:21:53 -08:00
py-utils.c Remove trailing whitespace. 2013-11-29 12:00:47 -08:00
py-value.c 2013-12-12 Siva Chandra Reddy <sivachandra@google.com> 2013-12-12 15:21:53 -08:00
python-config.py
python-internal.h 2013-12-12 Siva Chandra Reddy <sivachandra@google.com> 2013-12-12 15:21:53 -08:00
python.c Eliminate UNSUPPORTED_ERROR. 2013-12-12 10:15:48 +00:00
python.h Eliminate UNSUPPORTED_ERROR. 2013-12-12 10:15:48 +00:00