From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [dictionary] set bounds info correctly in symtabs
Date: Mon, 15 Dec 2003 22:50:00 -0000 [thread overview]
Message-ID: <20031215225035.GA22811@nevyn.them.org> (raw)
In-Reply-To: <m31xr5dba4.fsf@coconut.kealia.com>
On Mon, Dec 15, 2003 at 01:24:51PM -0800, David Carlton wrote:
> For a while, local users have been complaining that GDB generates tons
> of "pc in read in psymtab, but not in symtab" messages. Which is
> annoying (and the gratuitous extra "in" doesn't help). :-) I finally
> got around to tracking this down; it turns out that the psymtabs are
> correct and the symtabs are wrong in this case. Specifically, in
> dwarf2read.c, psymtab_to_symtab_1 and read_file_scope, when
> determining the PC bounds of the file, assume that all functions are
> children of the DW_TAG_compile_unit die, which isn't the case once
> DW_TAG_namesepace appears. (Actually, it seems to me that
> DW_TAG_class_type could already cause problems; it's just that GCC
> doesn't generate debug info in a form that could trigger this issue.)
Seems reasonable. I believe that Jason has suggested that namespaces
should be handled the same way - i.e. a declaration in the namespace
and a definition outside - in the version of the namespace support
being included in 3.4.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-12-15 22:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 21:24 David Carlton
2003-12-15 22:50 ` Daniel Jacobowitz [this message]
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=20031215225035.GA22811@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb-patches@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