This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/Patch] Call overloaded operators to perform valid Python operations on struct/class values.


On Wed, Jan 22, 2014 at 1:39 PM, Siva Chandra <sivachandra@google.com> wrote:
> ping.
>
> Any decision on this patch/feature?
>
>> 2013-12-30  Siva Chandra Reddy  <sivachandra@google.com>
>>
>>         Call overloaded operators to perform valid Python operations on
>>         struct/class values.
>>         * NEWS (Python Scripting): Add entry for this 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/
>>         * gdb.texinfo (Values From Inferior): Add description about
>>         performing valid Python operations on gdb.Value objects.

Hi.  Thanks for persevering.

Tom said it seems fine to him, and I've expressed my thoughts.

Seems like a green light to me.

IWBN if the docs listed exactly which operations are supported.
Ok with that change.
[I realize this patch relies on the user-defined method patch, so it
can't go in just yet.]

Thanks again for persevering.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]