This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix PR python/17386 - add __index__ method to gdb.Value
- From: Tom Tromey <tom at tromey dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Mon, 23 May 2016 11:22:10 -0600
- Subject: Re: [RFA] Fix PR python/17386 - add __index__ method to gdb.Value
- Authentication-results: sourceware.org; auth=none
- References: <1463616830-12259-1-git-send-email-tom at tromey dot com> <86a8jh8972 dot fsf at gmail dot com>
Yao> This change should be in a separate patch. Could you split it? It is
Yao> obvious and can be applied.
I'll send v2 shortly. The original patch was wrong, due to me not
building against Python 3. With the new patch I've done it both ways.
Yao> These two exceptions look quite similar but can you add a test that
Yao> triggers "'gdb.Value' object cannot be interpreted as an integer"?
Yao> because that is the symptom this patch is to fix.
v2 has this.
Tom