Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Paul Koning <pkoning@equallogic.com>
Cc: carlton@math.stanford.edu, gdb@sources.redhat.com
Subject: Re: psymtab/symtab error
Date: Mon, 16 Dec 2002 17:05:00 -0000	[thread overview]
Message-ID: <20021217010603.GA7824@nevyn.them.org> (raw)
In-Reply-To: <15870.30532.237490.351682@pkoning.akdesign.com>

On Mon, Dec 16, 2002 at 08:00:52PM -0500, Paul Koning wrote:
> >>>>> "David" == David Carlton <carlton@math.stanford.edu> writes:
> 
>  David> On Thu, 14 Nov 2002 18:50:36 -0500, Paul Koning
>  David> <pkoning@equallogic.com> 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<CVolume>::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<type>).  (gdb) info addr
>  >> CFreeList<CVolume>::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


  reply	other threads:[~2002-12-17  1:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14 14:50 Paul Koning
2002-11-14 21:49 ` Jim Blandy
2002-11-15  7:32   ` Paul Koning
2002-12-16 11:41 ` David Carlton
2002-12-16 17:00   ` Paul Koning
2002-12-16 17:05     ` Daniel Jacobowitz [this message]
2002-12-16 17:09     ` David Carlton
2002-12-16 18:15 Michael Elizabeth Chastain
2002-12-16 18:26 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021217010603.GA7824@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=carlton@math.stanford.edu \
    --cc=gdb@sources.redhat.com \
    --cc=pkoning@equallogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox