Siva Chandra
4c082a81df
[Python] Add methods reference_value and const_value to gdb.Value.
gdb/ChangeLog:
* NEWS (Python Scripting): Mention the new gdb.Value methods.
* python/py-value.c (valpy_reference_value): New function.
(valpy_const_value): Likewise.
(value_object_methods): Add new methods.
* value.c (make_cv_value): New function.
* value.h (make_cv_value): Declare.
gdb/doc/ChangeLog:
* python.texi (Values From Inferior): Add descriptions of new
methods gdb.Value.reference_value and gdb.Value.const_value.
gdb/testsuite/ChangeLog:
* gdb.python/py-xmethods.cc: Enhance test case.
* gdb.python/py-xmethods.exp: New tests.
* gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
function.
(B_indexoper): Likewise.
(global_dm_list) : Add new xmethod worker functions.
2015-05-09 17:30:35 -07:00
..
2015-05-08 07:20:04 -07:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:19:57 +00:00
2015-04-11 19:49:03 +02:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-03-07 15:14:14 +00:00
2015-04-01 11:49:12 -07:00
2015-03-07 15:14:14 +00:00
2015-04-28 21:53:54 -07:00
2015-04-01 11:49:12 -07:00
2015-03-07 15:14:14 +00:00
2015-04-28 17:41:09 -07:00
2015-04-01 11:49:12 -07:00
2015-03-07 15:14:14 +00:00
2015-05-09 17:30:35 -07:00
2015-04-29 13:24:21 -07:00
2015-04-29 13:24:21 -07:00
2015-04-29 13:24:21 -07:00