]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Sun, 29 Mar 2009 21:11:11 +0000 (21:11 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Sun, 29 Mar 2009 21:11:11 +0000 (21:11 +0000)
commitc0c6f77785d5f523f929919b66cf90bcd273a9fe
treeedc6c9f326c1edbb4823fff90eadeac7bceb9469
parent3cb51905575ddbdc88eee13144b537d222e61cb4
gdb/
Change gdb.Value.address from a method to an attribute.
* python/python-value.c (value_object): Add `address' element.
(valpy_dealloc): Decrement reference to self->address if set.
(valpy_new): Initialize val_obj->address.
(valpy_address): Rename to ...
(valpy_get_address): ... this.  Change signature from method to
attribute.  Update self->address if not set.
(value_to_value_object): Initialize val_obj->address.
(value_object_getset): Add `address' element.
(value_object_methods): Remove `address' element.

gdb/testsuite/
* gdb.python/python-value.exp: Add tests for the address
attribute.

gdb/doc/
* gdb.texinfo (Values From Inferior): Change gdb.Value.address
from a method to an attribute.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/python-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python-value.exp