diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2009-03-29 21:11:11 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2009-03-29 21:11:11 +0000 |
commit | c0c6f77785d5f523f929919b66cf90bcd273a9fe (patch) | |
tree | edc6c9f326c1edbb4823fff90eadeac7bceb9469 /gdb/dfp.c | |
parent | 3cb51905575ddbdc88eee13144b537d222e61cb4 (diff) | |
download | gdb-c0c6f77785d5f523f929919b66cf90bcd273a9fe.zip gdb-c0c6f77785d5f523f929919b66cf90bcd273a9fe.tar.gz gdb-c0c6f77785d5f523f929919b66cf90bcd273a9fe.tar.bz2 |
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.
Diffstat (limited to 'gdb/dfp.c')
0 files changed, 0 insertions, 0 deletions