From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32274 invoked by alias); 2 Jul 2003 18:27:22 -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 32267 invoked from network); 2 Jul 2003 18:27:21 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 2 Jul 2003 18:27:21 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19XmL2-0002Gq-00; Wed, 02 Jul 2003 13:28:16 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19XmK2-0002IK-00; Wed, 02 Jul 2003 14:27:14 -0400 Date: Wed, 02 Jul 2003 18:27:00 -0000 From: Daniel Jacobowitz To: David Carlton Cc: gdb Subject: Re: pc in psymtab, not in symtab Message-ID: <20030702182714.GA8744@nevyn.them.org> Mail-Followup-To: David Carlton , gdb References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-07/txt/msg00044.txt.bz2 On Wed, Jul 02, 2003 at 10:20:21AM -0700, David Carlton wrote: > I'm getting zillions of warnings along the following lines: > > warning: (Internal error: pc 0x80a94f8 in read in psymtab, but not in symtab.) > > Now, problems with the warning message aside (it's a warning that > incorrectly claims to be an internal error, and there's one too many > 'in' in there), this is both annoying and is preventing me from > looking at variables. (At least I assume this is why I can't look at > variables; I'm not using optimization flags.) > > Has anybody seen this recently? It's occuring for me with GDB 5.3 as > well as mainline; I've tried it with either Red Hat GCC 3.2 or with > GCC 3.2.3 patched to generate DW_TAG_namespace. A sample compilation > line is: > > /usr/local/testbed/namespace/bin/g++ -Wall -W -Winline -Wpointer-arith -Wno-unused-parameter -g -g3 -gdwarf-2 -I/kealia/src/working/vs/src/interface -DLinux -I/kealia/src/working/vs/use/interface/preprocessortest -pthread -fpic -I/kealia/src/working/vs/src/interface/sys -I/kealia/src/working/vs-ext/gcc321-i686-debug//sysinclude -c /kealia/src/working/vs/use/prog/preprocessortest/preprocessortest.cpp > > (I've tried fiddling with that a little bit, e.g. removing -fpic, with > no effect. And don't laugh at the '-g -g3 -gdwarf-2': I didn't write > the Makefile. :-) ) > > Any tips as to what might be causing this? My first guess is a GCC bug that causes it not to emit PC bounds? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer