8sa1-binutils-gdb/gdb/python
Thiago Jung Bauermann c0c6f77785 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.
2009-03-29 21:11:11 +00:00
..
python-cmd.c gdb/ 2009-03-21 03:13:02 +00:00
python-function.c gdb/ 2009-03-21 03:03:56 +00:00
python-internal.h gdb/ 2009-03-21 03:03:56 +00:00
python-utils.c 2009-02-26 Phil Muldoon <pmuldoon@redhat.com> 2009-02-26 20:45:21 +00:00
python-value.c gdb/ 2009-03-29 21:11:11 +00:00
python.c gdb/ 2009-03-21 03:13:02 +00:00
python.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00