From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: about PR gdb/10002 (extern optimized out symbols print: Address of symbol is unknown)
Date: Wed, 25 Mar 2009 23:00:00 -0000 [thread overview]
Message-ID: <8ac60eac0903251600v5bfe0808nebdef71c5f45c6cf@mail.gmail.com> (raw)
In-Reply-To: <20090325222600.GI1583@adacore.com>
On Wed, Mar 25, 2009 at 3:26 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> This seems correct to me. However, the testcase itself is a little
> borderline in my opinion.
The test case depends on compiler's ability to optimize out reference to
"missing". If the compiler couldn't do that, you'd get an unresolved symbol
at link time.
> The variable was not "optimized out", but was never linked in.
Well, the reference to the variable was optimized out.
> It's as if it really does not exist.
I think it's not "as if"; it *really* doesn't.
> So I don't know if GDB is really all that incorrect, here. Thoughts?
I don't see anything wrong about GDB's output.
--
Paul Pluzhnikov
next prev parent reply other threads:[~2009-03-25 23:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 22:26 Joel Brobecker
2009-03-25 23:00 ` Paul Pluzhnikov [this message]
2009-03-26 14:15 ` Jan Kratochvil
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=8ac60eac0903251600v5bfe0808nebdef71c5f45c6cf@mail.gmail.com \
--to=ppluzhnikov@google.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
/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