From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17999 invoked by alias); 15 Nov 2005 20:46:34 -0000 Received: (qmail 17962 invoked by uid 22791); 15 Nov 2005 20:46:31 -0000 Received: from web81206.mail.mud.yahoo.com (HELO web81206.mail.mud.yahoo.com) (68.142.199.110) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Tue, 15 Nov 2005 20:46:31 +0000 Received: (qmail 32847 invoked by uid 60001); 15 Nov 2005 20:46:29 -0000 Message-ID: <20051115204629.32845.qmail@web81206.mail.mud.yahoo.com> Received: from [192.249.47.9] by web81206.mail.mud.yahoo.com via HTTP; Tue, 15 Nov 2005 12:46:29 PST Date: Tue, 15 Nov 2005 20:46:00 -0000 From: Ron McCall Subject: Re: warning: (Internal error: pc 0xd00 in read in psymtab, but not in symtab.) To: gdb@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00299.txt.bz2 Oops, I think I sent that last reply directly to you rather than the list. Sorry about that. Let me try again. --- Vladimir Prus wrote: > pc=0? Hmm, does your application start at address > zero? > I distinctly remember I had to patch my local gdb > version because it did not > like sections starting at address zero. Yes, my application does indeed start at address zero (the RAM copy of the exception vector table followed by the remaining code and then data). > Below is the patch I use. But I'm not sure it's the > problem in your case: > the patch fixes the "pc = 0" problem both for > partial symbol table > (psymtab), and complete symbol table (symtab). > Without this patch I get > error even earlier. I applied your patch to a pristine copy of gdb 6.3 and rebuilt and sure enough, that makes the warning go away! Should this patch get into the "real" gdb sources? Thanks for the help! Ron McCall