This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: ppluzhnikov at google dot com (Paul Pluzhnikov)
- Cc: brobecker at adacore dot com (Joel Brobecker), muller at ics dot u-strasbg dot fr (Pierre Muller), Ulrich dot Weigand at de dot ibm dot com (Ulrich Weigand), gdb-patches at sourceware dot org (gdb-patches ml), tromey at redhat dot com (Tom Tromey), jan dot kratochvil at redhat dot com (Jan Kratochvil)
- Date: Mon, 14 Sep 2009 18:43:45 +0200 (CEST)
- Subject: Re: [patch] Speed up find_pc_section
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