From: Paul Koning <pkoning@equallogic.com>
To: gdb@sources.redhat.com
Subject: maint check-symtabs failures -- now what?
Date: Wed, 21 Jul 2004 21:05:00 -0000 [thread overview]
Message-ID: <16638.53519.120891.159800@gargle.gargle.HOWL> (raw)
I'm chasing an elusive problem in GDB 6.1 (slightly modified, but I
don't think that's the issue here). The symptom is that one person's
kernels (NetBSD plus a pile of stuff -- big file) generate these
errors:
(gdb) p main
$1 = {<text variable, no debug info>} 0x804372d0warning: (Internal error: pc 0x804372d1 in read in psymtab, but not in symtab.)
<main>
Some functions suffer from this, some don't. The compiler is GCC
3.0.1 for MIPS, with stabs.
What's odd is that most of us don't see this, but one person sees it a
lot.
I tried "maint check-symtabs". I figured that might help, but the
trouble is that it spits out vast quantites of error messages. Many
of them seem to have to do with type names. (The same command,
applied to a program built with GCC 3.3.3, dwarf-2, also produces
piles of errors -- but those seem to be ONLY for c++ mangled names.)
I've looked at the symtab stuff in gdb but found it rather opaque,
with three different "symbol tables" that seem to contain 3 different
sets of stuff.
So...
a. Where do I look for this?
b. Would using dwarf-2 be expected to help?
c. Would a newer GDB be expected to help?
paul
next reply other threads:[~2004-07-21 20:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-21 21:05 Paul Koning [this message]
2004-07-21 21:16 ` Daniel Jacobowitz
2004-07-22 1:00 ` Andrew Cagney
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=16638.53519.120891.159800@gargle.gargle.HOWL \
--to=pkoning@equallogic.com \
--cc=gdb@sources.redhat.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