From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3610 invoked by alias); 17 Dec 2002 01:05:08 -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 3603 invoked from network); 17 Dec 2002 01:05:08 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 17 Dec 2002 01:05:08 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18O82w-0004ww-00; Mon, 16 Dec 2002 21:05:26 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18O6BP-00022g-00; Mon, 16 Dec 2002 20:06:03 -0500 Date: Mon, 16 Dec 2002 17:05:00 -0000 From: Daniel Jacobowitz To: Paul Koning Cc: carlton@math.stanford.edu, gdb@sources.redhat.com Subject: Re: psymtab/symtab error Message-ID: <20021217010603.GA7824@nevyn.them.org> Mail-Followup-To: Paul Koning , carlton@math.stanford.edu, gdb@sources.redhat.com References: <15828.14028.345000.202128@gargle.gargle.HOWL> <15870.30532.237490.351682@pkoning.akdesign.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15870.30532.237490.351682@pkoning.akdesign.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00228.txt.bz2 On Mon, Dec 16, 2002 at 08:00:52PM -0500, Paul Koning wrote: > >>>>> "David" == David Carlton writes: > > David> On Thu, 14 Nov 2002 18:50:36 -0500, Paul Koning > David> said: > >> I've been wading all over the guts of gdb for most of today, > >> trying to track down the cause of this message: > > >> (gdb) info addr CFreeList::m_base Internal: global symbol > >> `_ZN9CFreeListI7CVolumeE6m_baseE' found in iSCSIInit.cpp psymtab > >> but not in symtab. _ZN9CFreeListI7CVolumeE6m_baseE may be an > >> inlined function, or may be a template function (if a template, > >> try specifying an instantiation: > >> _ZN9CFreeListI7CVolumeE6m_baseE). (gdb) info addr > >> CFreeList::m_base Symbol > >> "_ZN9CFreeListI7CVolumeE6m_baseE" is static storage at address > >> 0x4000dcf4. (gdb) > > >> I get this simply by invoking gdb and loading the symbol table of > >> the image in question (a large RTOS application). > > >> I dove deep into the guts of symbol table processing without > >> getting particularly enlightened. As a guess, perhaps the problem > >> is that this symbol is entered into the symtab in its friendly > >> form? > > David> I was reading through old saved emails and noticed this; what > David> debug format are you using? > > I don't know. I ran into this with gcc 3.0.1, NetBSD i386 host, > NetBSD MIPS target. > > Is there a tool that will tell me? Try looking at the output of objdump -h. If there are .stab/.stabstr, then you're in STABS mode; if there are .debug_info sections, you're in DWARF-2 most likely. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer