public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/8000] GDB doesn't know about enum constants in namespaces
[not found] <20021218102801.8000.carlton@math.stanford.edu>
@ 2010-01-18 21:56 ` tromey at redhat dot com
2010-01-19 2:13 ` tromey at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-01-18 21:56 UTC (permalink / raw)
To: gdb-prs
------- 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/8000] GDB doesn't know about enum constants in namespaces
[not found] <20021218102801.8000.carlton@math.stanford.edu>
2010-01-18 21:56 ` [Bug c++/8000] GDB doesn't know about enum constants in namespaces tromey at redhat dot com
@ 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
3 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-01-19 2:13 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-01-19 02:13 -------
Testing a fix.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|tromey at redhat dot com
|org |
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/8000] GDB doesn't know about enum constants in namespaces
[not found] <20021218102801.8000.carlton@math.stanford.edu>
2010-01-18 21:56 ` [Bug c++/8000] GDB doesn't know about enum constants in namespaces tromey at redhat dot com
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
3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2010-01-19 18:11 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-19 18:11 -------
Subject: Bug 8000
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2010-01-19 18:11:19
Modified files:
gdb : ChangeLog dwarf2read.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: namespace.cc namespace.exp
Log message:
gdb
PR c++/8000:
* dwarf2read.c (partial_die_parent_scope): Put enumeration type
into parent scope, and enumerator into grandparent scope.
gdb/testsuite
PR c++/8000:
* gdb.cp/namespace.exp: Use new enum. Fix line numbers in
existing tests.
* gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
(main): Use AAA::SomeEnum.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11275&r2=1.11276
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.348&r2=1.349
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2093&r2=1.2094
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/namespace.cc.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/namespace.exp.diff?cvsroot=src&r1=1.15&r2=1.16
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/8000] GDB doesn't know about enum constants in namespaces
[not found] <20021218102801.8000.carlton@math.stanford.edu>
` (2 preceding siblings ...)
2010-01-19 18:11 ` cvs-commit at gcc dot gnu dot org
@ 2010-01-19 18:13 ` tromey at redhat dot com
3 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-01-19 18:13 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-01-19 18:13 -------
Fix checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |7.1
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-19 18:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20021218102801.8000.carlton@math.stanford.edu>
2010-01-18 21:56 ` [Bug c++/8000] GDB doesn't know about enum constants in namespaces tromey at redhat dot com
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
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).