This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> 2009-07-21 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul> * objfiles.c (objfiles_updated_p): New variable.
Paul> (qsort_cmp, bsearch_cmp, update_section_map): New function.
Paul> (find_pc_section): Use bsearch.
Paul> (set_objfiles_updated_on_exe_change): New function.
Paul> (set_objfiles_updated_on_solib_activity): New function.
Paul> (_initialize_objfiles): New function.
This is ok, thanks.
Tom