This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/8000] GDB doesn't know about enum constants in namespaces


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]