* gdb_bfd.c (struct gdb_bfd_data): New.
authorTom Tromey <tromey@redhat.com>
Wed, 18 Jul 2012 19:49:33 +0000 (19:49 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 18 Jul 2012 19:49:33 +0000 (19:49 +0000)
commit6ec53d052b63163944019f5e17d73fafb9c57c2d
tree8bd0dd4e16b2b192102396f08878837761fd5ae6
parentf9a062ffb59ebed937221b852eab2abbd43111ed
* gdb_bfd.c (struct gdb_bfd_data): New.
(gdb_bfd_cache): New global.
(struct gdb_bfd_cache_search): New.
(hash_bfd, eq_bfd, gdb_bfd_open): New functions.
(gdb_bfd_ref, gdb_bfd_unref): Use gdb_bfd_data.
* gdb_bfd.h (gdb_bfd_open): Declare.
gdb/ChangeLog
gdb/gdb_bfd.c
gdb/gdb_bfd.h