This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
On Fri, Sep 11, 2009 at 12:39 AM, Pierre Muller <muller@ics.u-strasbg.fr> wrote:
>> All overlaps are removed in filter_overlapping_sections, before the
>> first binary search is performed.
>
> ?This is where I get lost:
> I see no code in filter_overlapping_sections
> that changes map_size, so how are these overlapping
> elements removed and what is put in their place?
Ah, that's a bug; thanks for catching it.
The filter_overlapping_sections was supposed to return 'j', not 'map_size'.
I'll retest an updated patch and send it in tomorrow.
--
Paul Pluzhnikov