From: asmwarrior <asmwarrior@gmail.com>
To: Nenad Vukicevic <nenad@intrepid.com>
Cc: gdb@sourceware.org, gcc@gcc.gnu.org
Subject: Re: Two debug entries for one local variables, is it a bug in GCC or GDB
Date: Fri, 09 Jul 2010 06:04:00 -0000 [thread overview]
Message-ID: <4C36BB5F.2000208@gmail.com> (raw)
In-Reply-To: <4C36BA7D.20007@intrepid.com>
On 2010-7-9 13:58, Nenad Vukicevic wrote:
> I reported something similar back in January:
>
> http://gcc.gnu.org/ml/gcc/2010-01/msg00054.html
>
> As I recall, GCC creates duplicates.
>
> Nenad
Thanks for the reply. I also found your message,
This bug has been fixed,see:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39563
You bug report is related to global variables.
My problem is related to a auto variables. Especially the variable will
be returned.
Something like:
T foo()
{
T a;
T b;
T c;
...
return b;
}
then, the unreturned variable "a" and "c" works well.
But the returned variable "b" will have two debug information entries.
next prev parent reply other threads:[~2010-07-09 6:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 2:35 asmwarrior
2010-07-09 5:58 ` Nenad Vukicevic
2010-07-09 6:04 ` asmwarrior [this message]
2010-07-10 4:09 ` Daniel Berlin
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=4C36BB5F.2000208@gmail.com \
--to=asmwarrior@gmail.com \
--cc=gcc@gcc.gnu.org \
--cc=gdb@sourceware.org \
--cc=nenad@intrepid.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