diff options
author | Tom Tromey <tromey@redhat.com> | 2009-11-05 22:26:10 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-11-05 22:26:10 +0000 |
commit | 10abe6bf36363fc8004785a70e350f013bd02c4a (patch) | |
tree | b6f02b801de93a1af23a10b411a7ead5c618483f /gdb/ChangeLog | |
parent | 69a943f00538328c36e1d1005f5357a61a71c7fc (diff) | |
download | gdb-10abe6bf36363fc8004785a70e350f013bd02c4a.zip gdb-10abe6bf36363fc8004785a70e350f013bd02c4a.tar.gz gdb-10abe6bf36363fc8004785a70e350f013bd02c4a.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bf20ded..aea896e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,19 @@ 2009-11-05 Tom Tromey <tromey@redhat.com> + * 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. + +2009-11-05 Tom Tromey <tromey@redhat.com> + * symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again. Zero the 'value' field. |