This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/8000] GDB doesn't know about enum constants in namespaces
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 18 Jan 2010 21:56:20 -0000
- Subject: [Bug c++/8000] GDB doesn't know about enum constants in namespaces
- References: <20021218102801.8000.carlton@math.stanford.edu>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.