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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 226faa0..78db079 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com> + + 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. + 2009-03-29 Andreas Schwab <schwab@linux-m68k.org> * observer.sh: Set LANG/LC_ALL to C, not c. |