bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb crashes on Solaris


From: Stuart Kemp
Subject: gdb crashes on Solaris
Date: Sat, 30 Mar 2002 13:47:25 -0600 (CST)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]