[RFA] Avoid -Wduplicated-cond warnings in gdb/python

Tom Tromey tom@tromey.com
Wed Sep 7 16:44:00 GMT 2016


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> I tried building gdb with -Wduplicated-cond.  This patch fixes the
Tom> simpler issue that was found.

[...]

Tom> 2016-07-21  Tom Tromey  <tom@tromey.com>

Tom> 	* python/py-value.c (convert_value_from_python): Make PyInt_Check
Tom> 	conditional on Python 2.
Tom> 	* python/py-arch.c (archpy_disassemble): Make PyInt_Check
Tom> 	conditional on Python 2.

Ping.
I realized today that this was never reviewed.

Tom



More information about the Gdb-patches mailing list