From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11191 invoked by alias); 17 Sep 2003 20:16:34 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11172 invoked from network); 17 Sep 2003 20:16:31 -0000 Received: from unknown (HELO trdlnk.com) (208.252.163.7) by sources.redhat.com with SMTP; 17 Sep 2003 20:16:31 -0000 Received: from trdlnk.com (cobb [10.10.2.129]) by trdlnk.com (8.12.9+Sun/8.12.9) with ESMTP id h8HKGN00021467; Wed, 17 Sep 2003 15:16:23 -0500 (CDT) Message-ID: <3F68C117.3010007@trdlnk.com> Date: Wed, 17 Sep 2003 20:16:00 -0000 From: "Neal E. Coombes" User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney CC: Jim Blandy , gdb@sources.redhat.com Subject: Re: dbxread.c:1771: internal-error: sect_index_data not initialized References: <3F687799.5050201@trdlnk.com> <3F68A535.8010609@redhat.com> In-Reply-To: <3F68A535.8010609@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00220.txt.bz2 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) \