public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/8000] GDB doesn't know about enum constants in namespaces
Date: Mon, 18 Jan 2010 21:56:00 -0000	[thread overview]
Message-ID: <20100118215620.4043.qmail@sourceware.org> (raw)
In-Reply-To: <20021218102801.8000.carlton@math.stanford.edu>


------- Additional Comments From tromey at redhat dot com  2010-01-18 21:56 -------
Still a bug.
Here's a sample program:

namespace ns {
  enum x { A, B, C };
};

int main()
{
  ns::x a = ns::A;
  return a;
}
(gdb) p a
$2 = A
(gdb) p A
$3 = A
(gdb) p ns::A
No symbol "A" in namespace "ns".




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-18 21:56:20
               date|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=8000

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


       reply	other threads:[~2010-01-18 21:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021218102801.8000.carlton@math.stanford.edu>
2010-01-18 21:56 ` tromey at redhat dot com [this message]
2010-01-19  2:13 ` tromey at redhat dot com
2010-01-19 18:11 ` cvs-commit at gcc dot gnu dot org
2010-01-19 18:13 ` tromey at redhat dot com

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=20100118215620.4043.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).