* gdb_bfd.h: Include registry.h. Use DECLARE_REGISTRY.
authorTom Tromey <tromey@redhat.com>
Wed, 22 Aug 2012 15:50:38 +0000 (15:50 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 22 Aug 2012 15:50:38 +0000 (15:50 +0000)
commite992eda4f6cece4cccbad807b1307168de924174
tree807d0bed9e385f52d9a1e2a37e2d9749db76f5bc
parent6b81941e358ef95a24d90b971dd05f6c30dfa9a7
* gdb_bfd.h: Include registry.h.  Use DECLARE_REGISTRY.
* gdb_bfd.c: Use DEFINE_REGISTRY.
(struct gdb_bfd_data): Add REGISTRY_FIELDS.
(gdb_bfd_ref): Call bfd_alloc_data.
(gdb_bfd_unref): Call bfd_free_data.
gdb/ChangeLog
gdb/gdb_bfd.c
gdb/gdb_bfd.h