Move types_deeply_equal from py-type.c to gdbtypes.c.
authorDoug Evans <xdje42@gmail.com>
Fri, 22 Nov 2013 04:28:35 +0000 (20:28 -0800)
committerDoug Evans <xdje42@gmail.com>
Fri, 22 Nov 2013 04:28:35 +0000 (20:28 -0800)
commitca092b61dcb002e8eac3f745c84d8d9869262d2a
tree1ca5061b0feadabc016aa3fa0c66e3bf64834452
parent0a1e61210c1740acbd5739afdf0f445a7e613d5c
Move types_deeply_equal from py-type.c to gdbtypes.c.

* gdbtypes.c: #include bcache.h, dwarf2loc.h.
(type_equality_entry): Move here from python/py-type.c.
(type_equality_entry_d): Ditto.
(compare_maybe_null_strings, check_types_equal): Ditto.
(check_types_worklist, types_deeply_equal): Ditto.
* gdbtypes.h (types_deeply_equal): Declare.
* python/py-type.c: Remove inclusion of bcache.h, dwarf2loc.h.
(typy_richcompare): Update.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/python/py-type.c