gdb and binutils branch master updated. a16b0e220dfc49ed814e779d45faab84e31a4e42
sivachandra@sourceware.org
sivachandra@sourceware.org
Thu Dec 12 23:26:00 GMT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via a16b0e220dfc49ed814e779d45faab84e31a4e42 (commit)
from ec0d6081a0144a61dfc79a10aaf2b96e29286180 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a16b0e220dfc49ed814e779d45faab84e31a4e42
commit a16b0e220dfc49ed814e779d45faab84e31a4e42
Author: Siva Chandra <sivachandra@chromium.org>
Date: Thu Dec 12 15:18:27 2013 -0800
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.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 14 ++++
gdb/NEWS | 2 +
gdb/doc/ChangeLog | 8 ++
gdb/doc/gdb.texinfo | 16 ++++-
gdb/python/py-type.c | 15 ++++
gdb/python/py-value.c | 126 +++++++++++++++++++++++++++++-
gdb/python/python-internal.h | 1 +
gdb/testsuite/ChangeLog | 7 ++
gdb/testsuite/gdb.python/py-value-cc.cc | 30 +++++++
gdb/testsuite/gdb.python/py-value-cc.exp | 35 ++++++++
10 files changed, 251 insertions(+), 3 deletions(-)
hooks/post-receive
--
gdb and binutils
More information about the Gdb-cvs
mailing list