This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] remove free_contents
On Thu, Apr 03, 2008 at 10:54:48AM -0700, Doug Evans wrote:
> Either the comment is incomplete (i.e. some names are not allocated
> on an objfile_obstack), or the code is wrong (or in this case, outdated).
Both possible, I think, as long as the name has lifetime at least as
long as the objfile_obstack. It could come from mmaped dwarf
sections, for instance (if we get around to making that work... I see
that conversation on a patch to do this trailed off).
> 2008-04-03 Doug Evans <dje@sebabeach.org>
>
> * symtab.h (enum free_code): Delete free_contents, unused.
> * symmisc.c (free_symtab_block): Delete.
> (free_symtab, case free_code): Delete.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery