This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] move the demangled_names_hash into the per-BFD
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 Aug 2013 19:06:23 +0100
- Subject: Re: [PATCH 2/2] move the demangled_names_hash into the per-BFD
- Authentication-results: sourceware.org; auth=none
- References: <1376512619-3211-1-git-send-email-tromey at redhat dot com> <1376512619-3211-3-git-send-email-tromey at redhat dot com>
On 08/14/2013 09:36 PM, Tom Tromey wrote:
>
> * objfiles.c (free_objfile_per_bfd_storage): Delete the
> demangled_names_hash.
> (free_objfile): Don't delete the demangled_names_hash.
> * objfiles.h (struct objfile_per_bfd_storage)
> <demangled_names_hash>: New field.
> (struct objfile) <demangled_names_hash>: Move to
> objfile_per_bfd_storage.
> * symfile.c (reread_symbols): Don't delete the
> demangled_names_hash.
> * symtab.c (create_demangled_names_hash): Update.
> (symbol_set_names): Update.
Looks fine to me.
Thanks,
--
Pedro Alves