X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fobjfiles.c;h=4091b42dbf17fb404cc30b655bd36d8e1ffa7f87;hb=25629dfdb438c82f2bb711174042bb326a526aaf;hp=34b271e86de2b9e2fa392e9815e8aea291b29c09;hpb=fe7266674110f34eacf2e9d2b308f76d33ce50ed;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 34b271e86d..4091b42dbf 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -157,8 +157,6 @@ get_objfile_bfd_data (struct objfile *objfile, struct bfd *abfd) if (abfd != NULL) storage->gdbarch = gdbarch_from_bfd (abfd); - storage->filename_cache = bcache_xmalloc (NULL, NULL); - storage->macro_cache = bcache_xmalloc (NULL, NULL); storage->language_of_main = language_unknown; } @@ -170,8 +168,6 @@ get_objfile_bfd_data (struct objfile *objfile, struct bfd *abfd) static void free_objfile_per_bfd_storage (struct objfile_per_bfd_storage *storage) { - bcache_xfree (storage->filename_cache); - bcache_xfree (storage->macro_cache); if (storage->demangled_names_hash) htab_delete (storage->demangled_names_hash); storage->~objfile_per_bfd_storage ();