* elfread.c (elf_symtab_read): Update.
authorTom Tromey <tromey@redhat.com>
Wed, 22 Aug 2012 16:01:09 +0000 (16:01 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 22 Aug 2012 16:01:09 +0000 (16:01 +0000)
commit706e37059fbfed5beb9fe02921483809dfd86e5b
treed604042d166fc7545502657f9171d6210f4acc9e
parente992eda4f6cece4cccbad807b1307168de924174
* elfread.c (elf_symtab_read): Update.
* objfiles.c (objfiles_bfd_data): New global.
(get_objfile_bfd_data, free_objfile_per_bfd_storage)
(objfile_bfd_data_free, set_objfile_per_bfd): New functions.
(allocate_objfile, free_objfile): Update.
(_initialize_objfiles): Initialize objfiles_bfd_data.
* objfiles.h (struct objfile_per_bfd_storage): New.
(struct objfile) <per_bfd>: New field.
<filename_cache>: Remove.
(set_objfile_per_bfd): Declare.
* symfile.c (reread_symbols): Update.  Call
set_objfile_per_bfd.
(allocate_symtab): Update.
* symmisc.c (print_symbol_bcache_statistics): Update.
(print_objfile_statistics): Print the size of the BFD obstack.
gdb/testsuite
* gdb.base/maint.exp: Update.
gdb/ChangeLog
gdb/elfread.c
gdb/objfiles.c
gdb/objfiles.h
gdb/symfile.c
gdb/symmisc.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp