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]

RE: [patch] Speed up find_pc_section


> > ?Using binary search for ill order item
> > can lead to different results if you add
> > items to the list, no?
> 
> 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?


Pierre Muller
Pascal language support maintainer for GDB





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]