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


On Tue, Aug 18, 2009 at 5:23 AM, Ulrich
Weigand<Ulrich.Weigand@de.ibm.com> wrote:

> For overlay sections, find_pc_section would
> delegate its work to find_pc_mapped_section anyway:

Thanks, I understand how that works now.

> I'd be happy to test patches on the SPU ...

Could you please test attached patch?

I believe it is correct to simply not insert any overlay sections into
the section map. Tested on Linux/x86_64 with no new failures.

Thanks,
-- 
Paul Pluzhnikov

2009-08-20  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* objfiles.c (update_section_map): Skip overlay sections.

Attachment: gdb-find_pc_section-20090820.txt
Description: Text document


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