Re: [RFA v2 2/2] Fix PR python/17386 - add __index__ method to gdb.Value

Yao Qi
2016-05-24T08:58:29Z

Tom Tromey <tom@tromey.com> writes:

> 2016-05-23 Tom Tromey <tom@tromey.com>
>
> PR python/17386:
> * python/py-value.c (value_object_as_number): Add
> nb_inplace_floor_divide, nb_inplace_true_divide, nb_index.
>
> 2016-05-23 Tom Tromey <tom@tromey.com>
>
> PR python/17386:
> * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
> use value as an index.

Looks good to me with the trailing comma fixed.

--
Yao (齐尧)