This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Fix enum flag with Python 3
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>, gdb-patches at sourceware dot org
- Date: Tue, 19 Jan 2016 11:03:54 +0000
- Subject: Re: [PATCH 2/2] Fix enum flag with Python 3
- Authentication-results: sourceware.org; auth=none
- References: <1453177390-13881-1-git-send-email-simon dot marchi at polymtl dot ca> <1453177390-13881-2-git-send-email-simon dot marchi at polymtl dot ca>
On 01/19/2016 04:23 AM, Simon Marchi wrote:
> gdb/ChangeLog:
>
> * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly
> convert gdb.Value to integer type using int().
LGTM.
Thanks,
Pedro Alves