gdb
authorTom Tromey <tromey@redhat.com>
Mon, 23 Aug 2010 20:26:10 +0000 (20:26 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 23 Aug 2010 20:26:10 +0000 (20:26 +0000)
commitd839c8a4e8665e408dfcdf3c8e8cc7f054ade108
tree0f5562ffd318469521cdea212f54d7dbb5a5b2d3
parent05d0e1e74e28e8b02bd0a79c04a7a3f960b8000b
gdb
PR python/10676:
* python/py-type.c: Include bcache.h, vec.h.
(struct type_equality_entry): New.
(compare_strings): New function.
(check_types_equal): Likewise.
(check_types_worklist): Likewise.
(typy_richcompare): Likewise.
(type_object_type): Set tp_richcompare field.
gdb/testsuite
PR python/10676:
* gdb.python/py-type.exp (test_fields): Add tests for type
equality.
gdb/ChangeLog
gdb/python/py-type.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-type.exp