gdb crashes on Solaris
Andrew Cagney
ac131313@cygnus.com
Wed Apr 3 09:21:00 GMT 2002
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
>
>
>
More information about the Gdb
mailing list