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: [PATCH 2/2] Fix enum flag with Python 3


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


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