diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-06-27 14:32:05 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-06-27 14:32:05 -0400 |
commit | 68ad5fb9aa5ea8d00f95a19cd0c3ab211fb21f83 (patch) | |
tree | bae362a8ffa134e8c69bf42a5e382bc440b7d789 /cpu | |
parent | 141ec9f67f11a34bae5953b2923bb71fc74dd52f (diff) | |
download | gdb-68ad5fb9aa5ea8d00f95a19cd0c3ab211fb21f83.zip gdb-68ad5fb9aa5ea8d00f95a19cd0c3ab211fb21f83.tar.gz gdb-68ad5fb9aa5ea8d00f95a19cd0c3ab211fb21f83.tar.bz2 |
gdb-gdb.py.in: Fix ordering of TypeFlags objects with Python 3
Python 3 doesn't use __cmp__ to order objects, it uses __lt__. Because
of this, we get this exception when trying to pretty-print "type"
objects:
I tested it with Python 2.7 as well.
gdb/ChangeLog:
* gdb-gdb.py.in (TypeFlag) <__cmp__>: Remove.
<__lt__>: Add.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions