* symmisc.c (print_symbol_bcache_statistics): Print filename cache
authorTom Tromey <tromey@redhat.com>
Thu, 5 Nov 2009 22:26:10 +0000 (22:26 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 5 Nov 2009 22:26:10 +0000 (22:26 +0000)
commit10abe6bf36363fc8004785a70e350f013bd02c4a
treeb6f02b801de93a1af23a10b411a7ead5c618483f
parent69a943f00538328c36e1d1005f5357a61a71c7fc
* symmisc.c (print_symbol_bcache_statistics): Print filename cache
statistics.
(print_objfile_statistics): Likewise.
* symfile.c (reread_symbols): Initialize filename_cache.
(allocate_symtab): Cache the file name.
(allocate_psymtab): Likewise.
* solib-sunos.c (allocate_rt_common_objfile): Initialize
filename_cache.
* objfiles.h (struct objfile) <filename_cache>: New field.
* objfiles.c (allocate_objfile): Initialize filename_cache.
(free_objfile): Free filename_cache.
gdb/ChangeLog
gdb/objfiles.c
gdb/objfiles.h
gdb/solib-sunos.c
gdb/symfile.c
gdb/symmisc.c