This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb crashes on Solaris
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Stuart Kemp <skemp at bmc dot com>, gdb at sources dot redhat dot com
- Date: Wed, 03 Apr 2002 12:21:50 -0500
- Subject: Re: gdb crashes on Solaris
- References: <Pine.GSO.4.21.0203301343160.1549-100000@idgas.bmc.com>
Hi,
Can I suggest creating a bug report for this. See:
http://sources.redhat.com/gdb/bugs/
GDB is currently moving from e-mail to the web as the prefered way of
tracking bug reports. If you have difficulty doing this, please let me
know.
--
From memory the 64 limit is a known problem and being worked on, abet
slowly. In the mean time, the below should get an array bounds
assertion check so that the code doesn't smash memory.
enjoy,
Andrew
> 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 (§ion_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
>
>
>