Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Peng Yu <pengyu.ut@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: no symbol in current context problem
Date: Mon, 15 Sep 2008 17:00:00 -0000	[thread overview]
Message-ID: <20080915165952.GA15877@caradoc.them.org> (raw)
In-Reply-To: <366c6f340809150954p5e560b0dm590aaa976dfbc00e@mail.gmail.com>

On Mon, Sep 15, 2008 at 11:54:51AM -0500, Peng Yu wrote:
> Hi,
> 
> I have the following program. When I step in to test's constructor, I
> would be able to print the variable three. It says
> (gdb) n
> 7             T three = 3;
> (gdb) n
> 8             std::cout << three << std::endl;
> (gdb) p three
> No symbol "three" in current context.
> 
> I know that this is a bug has been reported before. But I'm wondering
> if it is already fixed in the newest version of gdb.

I believe it's a bug in GCC, not in GDB - try searching the GCC bugzilla.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-09-15 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-15 16:55 Peng Yu
2008-09-15 17:00 ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-07-27  0:39 kdsfinger
2007-07-27  5:57 ` 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=20080915165952.GA15877@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=pengyu.ut@gmail.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