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 Fri, Aug 7, 2009 at 3:29 PM, Paul Pluzhnikov<ppluzhnikov@google.com> wrote:

> I was able to reproduce the failed assert on F11/i586, but only after the
> system ran for a while.

Update: running 'make check' on F11 after prelinking shows many
similar failures. The "java setup" in Tom's repro instructions doesn't
appear necessary.

Here is a fix. Tested on F11/i586 (with prelinking) and Linux/x86_64 (without).

Thanks,
-- 
Paul Pluzhnikov

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

        * objfiles.c (qsort_cmp): Remove assert.
        (preferred_obj_section): New function.
        (update_section_map): Filter duplicates.

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


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