Call overloaded operators to perform operations on gdb.Value objects.
authorSiva Chandra <sivachandra@chromium.org>
Mon, 2 Dec 2013 14:45:09 +0000 (06:45 -0800)
committerSiva Chandra <sivachandra@chromium.org>
Wed, 19 Feb 2014 23:47:45 +0000 (15:47 -0800)
commitf7bd0f7854f2fd0dfeddafd073b007d91bea79e8
tree38d3ca9d46e619b3f4a371a0b50158563a3af60d
parent649ebbcaef0f8e58146e62be0d3f22da5f82446c
Call overloaded operators to perform operations on gdb.Value objects.

* NEWS: Add entry for the new feature
* python/py-value.c (valpy_binop): Call value_x_binop for struct
and class values.

testsuite/
* gdb.python/py-value-cc.cc: Improve test case to enable testing
operations on gdb.Value objects.
* gdb.python/py-value-cc.exp: Add new test to test operations on
gdb.Value objects.

doc/
* python.texi (Values From Inferior): Add description about the
new feature.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/python.texi
gdb/python/py-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value-cc.cc
gdb/testsuite/gdb.python/py-value-cc.exp