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: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 07 Oct 2013 13:27:04 -0600
- 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> <521CEA9F dot 9070003 at redhat dot com>
>> * 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.
Pedro> Looks fine to me.
I'm checking this in now.
Tom