gdb
authorTom Tromey <tromey@redhat.com>
Tue, 19 Jan 2010 18:11:19 +0000 (18:11 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 19 Jan 2010 18:11:19 +0000 (18:11 +0000)
commitceeb3d5ab68a5e0a904ab7a5812781fe2bd082ce
treee05ef253dd96f02213ec5358eba51946ed12da37
parent5696ab0b73cb827e7b3636255694d1fe61c89a32
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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/namespace.cc
gdb/testsuite/gdb.cp/namespace.exp