This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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) \



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]