Re: [patch] Speed up find_pc_section

Pedro Alves
2009-07-22T19:19:00Z

On Wednesday 22 July 2009 20:05:10, Paul Pluzhnikov wrote:
> 2009-07-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
>
>         * objfiles.h (objfiles_changed): New prototype.
>         * objfiles.c (objfiles_updated_p): Rename to objfiles_changed_p.
>         (allocate_objfile, free_objfile): Must rebuild section map.
>         (objfile_relocate): Likewise.
>         (update_section_map, find_pc_section): Adjust.
>         (set_objfiles_updated_on_exe_change): Remove.
>         (set_objfiles_updated_on_solib_activity): Remove.
>         (_initialize_objfiles): Remove.
>         (objfiles_changed): New function.
>         * symfile.c (reread_symbols): Call objfiles_changed.

Ok. Thanks again!

--
Pedro Alves