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] |
On Thu, Oct 22, 2009 at 8:33 AM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote: > I'll just fix the bsearch calls, since A) one of them is known to > cause a problem and B) I introduced them recently :-( Here is the revised patch. The call to bsearch in dwarf2_frame_find_fde is already preceded by assert of "fde_table->num_entries > 0", so no changes are needed there. There is one more call to bsearch in solib-osf.c, but that file appears to not be used anymore. Ok to deleted it? Thanks, -- Paul Pluzhnikov 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/10819 * dwarf2-frame.c (find_cie): Don't call bsearch on empty cie_table. * objfiles.c (find_pc_section): Likewise.
Attachment:
gdb-pr10819-20091022-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] |