This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Jul 16, 2009 at 5:24 PM, Paul Pluzhnikov<ppluzhnikov@google.com> wrote: > Attached patch turns linear search into binary search, speeding up > find_pc_section drastically :-) A cleaner patch, with ChangeLog this time. Thanks, -- Paul Pluzhnikov 2009-07-17 Paul Pluzhnikov <ppluzhnikov@google.com> * objfiles.c (objfiles_updated_p): New variable. (qsort_cmp, bsearch_cmp, update_section_map): New function. (find_pc_section): Use bsearch.
Attachment:
gdb-find_pc_section-20090717.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |