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 Thu, Sep 10, 2009 at 11:29 AM, Joel Brobecker <brobecker@adacore.com> wrote:

>> I am not sure calling complaint rather than warning is really the right
>> thing here: complaints are silent unless the user explicitly turns them on,
>> and overlapping sections indicate a real problem of some sort.
>
> I still think we should use a complaint in this case.

Adjusted patch attached.

Thanks,
-- 
Paul Pluzhnikov

2009-09-10  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.

Attachment: gdb-find_pc_section-20090910-2.txt
Description: Text document


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