[patch] Speed up find_pc_section

Ulrich Weigand uweigand@de.ibm.com
Mon Sep 14 16:43:00 GMT 2009


Paul Pluzhnikov wrote:

> I think this is ready to commit :-)
> 
> Ulrich?

> 2009-09-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
>     * objfiles.c (qsort_cmp): Remove asserts.
>     (insert_section_p, filter_debuginfo_sections): New function.
>     (filter_overlapping_sections): Likewise.
>     (update_section_map): Adjust.

I've tested this together with the lookup_minimal_symbol_by_pc
patch on spu-elf, and it fixes all overlay-related bugs and
introduces no regressions, so it looks good to me as well.

Thanks for your work on addressing this problem!

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list