commit | 400d4e3290b2012f9c44dff21cf6af9bb557e8de | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Wed Apr 24 11:58:38 2024 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Fri May 10 12:09:32 2024 -0600 |
tree | 1b51213e1e7f463dffeb0388706ccbc534caa71d | |
parent | 4b09134a09ea6663850091c6a8da614cf3902fe1 [diff] |
Implement tp_richcompare for gdb.Block I noticed that two gdb.Block objects will never compare as equal with '=='. This patch fixes the problem by implementing tp_richcompare, as was done for gdb.Frame.