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: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 19 Jan 2010 18:11:42 -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 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.