Using gdb 5.1.1 on Solaris

When debugging a binary that has been instrumented with Purify, gdb
crashes in elfread.c in the following block:

                          if (index != -1)
                            {
                              if (sectinfo->sections[index] != 0)
                                {
                                  complain (&section_info_dup_complaint,
                                            sectinfo->filename);
                                }
                            }

Problem is that "index" has a value of 66, but the size of the array is 64
(from SECT_OFF_MAX in gdb-stabs.h)

Looks like the problem is still there in gdb+dejagnu-5.1.90_20020330

-Stuart Kemp



_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to