* symtab.h (free_symtab): Remove.
authorTom Tromey <tromey@redhat.com>
Mon, 4 Apr 2011 15:19:59 +0000 (15:19 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 4 Apr 2011 15:19:59 +0000 (15:19 +0000)
commit00174a8637c5c42b77b190c38b1afa94c4c14517
treee15de61016caa1be91047423ceeff6cd9031e94e
parent30cc903e7cd4678ec556d5386be55c3c726b6a27
* symtab.h (free_symtab): Remove.
(forget_cached_source_info_for_objfile): Declare.
* symmisc.c (free_symtab): Remove.
* source.c (forget_cached_source_info_for_objfile): New function.
(forget_cached_source_info): Use it.
* objfiles.c (free_objfile): Simplify check before calling
clear_current_source_symtab_and_line.  Call
forget_cached_source_info_for_objfile.
gdb/ChangeLog
gdb/objfiles.c
gdb/source.c
gdb/symmisc.c
gdb/symtab.h