dbxread.c:1771: internal-error: sect_index_data not initialized

Neal E. Coombes nealc@trdlnk.com
Wed Sep 17 20:16:00 GMT 2003


Andrew Cagney wrote:
>> This has already been reported and fixed, but the fix was too late to
>> be included in 6.0.
> 
> In July?
> 
>> Bug 1241 in the GDB bug database has a patch (get the second patch,
>> not the first): http://sources.redhat.com/cgi-bin/gnatsweb.pl
> 
> It can at least be pulled into the branch after 6.0 is released.

Thank you all very much, works very nicely.  I encourage you to pull it 
into the source as soon as you can.

We modified the patch to do the change at the ?root? of the problem 
instead of in the specific section.  Please let me know if this will 
have any ill effects (since we certainly don't know as much about gdb as 
the rest of you).

Thanks,

Neal

src/gdb/objfiles.h

638c639,641
<       ? (internal_error (__FILE__, __LINE__, "sect_index_data not 
initialized"), -1) \
---
 >       ? ((objfile->sect_index_bss == -1) \
 >          ? (internal_error (__FILE__, __LINE__, "sect_index_data not 
initialized"), -1) \
 >          : objfile->sect_index_bss) \



More information about the Gdb mailing list