Fix incorrect use of 'is' operator for comparison in python/lib/gdb/command/prompt.py
authorRaul Tambre <raul@tambre.ee>
Sat, 4 May 2019 19:48:17 +0000 (15:48 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 4 May 2019 19:52:20 +0000 (15:52 -0400)
commitb6484282f85bf7f11451b2441599c241d302ad9d
tree537ace90ed6dae2dd8a71403df15d257eb19639b
parentaf97b4161f07a716783183f1b17fa5cac9f99a49
Fix incorrect use of 'is' operator for comparison in python/lib/gdb/command/prompt.py

The 'is' operator is not meant to be used for comparisons. It currently working
is an implementation detail of CPython.  CPython 3.8 has added a SyntaxWarning
for this.
gdb/ChangeLog
gdb/python/lib/gdb/command/prompt.py