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

Tom Tromey
2016-05-23T18:40:31Z

>> +#ifndef HAVE_LIBPYTHON_2_4
>> + /* This was added in Python 2.5. */
>> + , valpy_long /* nb_index */
>> +#endif /* HAVE_LIBPYTHON_2_4 */

Pedro> Are you trying to avoid a trailing comma?

Yep.

Pedro> IOW, this can be:

I fixed it locally, thanks.

Tom